feat(scenario): scenario runner, extensions and working copy
scenario.py runs all five simulators of the core from a JSON scenario file, with sweeps, and reproduces 20 of the note's data files (14 byte for byte, 6 column-wise). Extensions live outside the core and must reproduce it exactly in a limit case; paadrag_tidsserie is the worked example. arbeidskopi.py gives the user a copy of the model they can change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
464ad38b49
commit
03151cfb3b
36 changed files with 3580 additions and 5 deletions
14
eksempler/scenarioer/notatet/p3.json
Normal file
14
eksempler/scenarioer/notatet/p3.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"navn": "p3",
|
||||
"beskrivelse": "Gjenskaper data/p3.dat i notatet: regime A, P-regel med reaktivitet 3 og forsinkelse 3 mnd, uten straffesakskjede (avsnitt 8.1).",
|
||||
"modell": "simulate",
|
||||
"styring": {
|
||||
"regulator": "P",
|
||||
"forsinkelse": 3,
|
||||
"reaktivitet": 3
|
||||
},
|
||||
"utdata": {
|
||||
"format": "notat",
|
||||
"kolonner": ["t", "K", "U", "L", "T"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue