Open CThuleHansen opened 6 years ago
ExecuteInRules is current executed on every setXXX performed on the external FMU. This is costly and unnecessary. Instead, it should be moved to the beginning of the doStep function.
https://github.com/INTO-CPS-Association/hybrid-cosim/blob/af6979370b1ab00ae481158690fcc01acf7b80e4/DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/src/be/uantwerpen/ansymo/semanticadaptation/cg/cpp/generation/FmuGenerator.xtend#L225
ExecuteInRules is current executed on every setXXX performed on the external FMU. This is costly and unnecessary. Instead, it should be moved to the beginning of the doStep function.
https://github.com/INTO-CPS-Association/hybrid-cosim/blob/af6979370b1ab00ae481158690fcc01acf7b80e4/DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/src/be/uantwerpen/ansymo/semanticadaptation/cg/cpp/generation/FmuGenerator.xtend#L225