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
24
eksempler/scenarioer/notatet/vippe.json
Normal file
24
eksempler/scenarioer/notatet/vippe.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"navn": "vippe",
|
||||
"beskrivelse": "Gjenskaper kolonnene fast, p3 og p6 i data/vippe.dat: rekruttering med vippepunkt og et forbigående sjokk (Omega x 1,6 i måned 12-36), avsnitt 8.4. Rutenettet gir fast innsats (to like kjøringer, forsinkelsen brukes ikke) og P-regel med forsinkelse 3 og 6.",
|
||||
"modell": "simulate_soc",
|
||||
"sjokk": {
|
||||
"faktor": 1.6,
|
||||
"fra": 12,
|
||||
"til": 36
|
||||
},
|
||||
"sveip": [
|
||||
{
|
||||
"parameter": "styring.regulator",
|
||||
"verdier": ["fast", "P"]
|
||||
},
|
||||
{
|
||||
"parameter": "styring.forsinkelse",
|
||||
"verdier": [3, 6]
|
||||
}
|
||||
],
|
||||
"utdata": {
|
||||
"format": "notat",
|
||||
"kolonner": ["t", "K"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue