Feature #98

Umožnit změnu proměnné během simulace

Added by Tomáš Kulhánek almost 13 years ago. Updated over 5 years ago.

Status:ResolvedStart date:04 July 2012
Priority:NormalDue date:
Assignee:Tomáš Kulhánek% Done:

100%

Category:-Spent time:-
Target version:-

Description

Umožnit změnu proměnné během simulace.
Pokud nebyla simulace ještě nastartována, pak lze měnit hodnoty proměnných v Dymosimu. Po nastartování, změny hodnot nebere Dymosim v potaz.
Dymola driver by měl uložit stav simulace, načíst tento stav jako začátek simulace a nastavit novou hodnotu proměnné.

History

#1 Updated by Tomáš Kulhánek almost 13 years ago

  • Assignee set to Tomáš Kulhánek

#2 Updated by Tomáš Kulhánek almost 13 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80

initial fix

if the simulation is already started - the snapshot is saved - the simulation is initialized from this snapshot and variables are changed

added/updated commands:
"continue" - continues simulation after it reached the end of simulation
(copy dsfinal.txt as dsintermediate.txt and starts the simulation from this point)
"stop","pause" - pauses simulation
"start" - start simulation from the beginning - dsin.txt
after simulation reaches the end - dsfinal.txt contains final simulation snapshot of variables

Also available in: Atom PDF