controllab / fmi-export-20sim

FMI export code generation template for 20-sim
GNU General Public License v3.0
3 stars 4 forks source link

Getting and Setting the Complete FMU State #31

Closed margro closed 7 years ago

margro commented 7 years ago

To be able to get and set and restore the FMU state, we need to implement fmi2GetFMUstate(), fmi2SetFMUstate(). fmi2FreeFMUstate() functions.

When this works, we can also serialize/deserialize the state by implementing fmi2SerializedFMUstateSize() fmi2SerializeFMUstate() fmi2DeSerializeFMUstate()