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
18
eksempler/scenarioer/notatet/sat_B.json
Normal file
18
eksempler/scenarioer/notatet/sat_B.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"navn": "sat_B",
|
||||
"beskrivelse": "Gjenskaper kolonnene i data/sat_B.dat: regime B (forsinkelse 6 mnd) uten politimetning og med halvmetningsnivå K_sat = 3 og 1,5 (avsnitt 8.3). Kolonnene K, Ks3 og Ks15 i notatets fil er K fra hver av de tre kjøringene.",
|
||||
"modell": "simulate",
|
||||
"styring": {
|
||||
"regulator": "P",
|
||||
"forsinkelse": 6,
|
||||
"reaktivitet": 3
|
||||
},
|
||||
"sveip": {
|
||||
"parameter": "parametere.P.ksat",
|
||||
"verdier": ["inf", 3, 1.5]
|
||||
},
|
||||
"utdata": {
|
||||
"format": "notat",
|
||||
"kolonner": ["t", "K"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue