You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue reports problems found when trying to postprocess BOPTEST bestest_air model using modelica-json to extrapolate semantic model from Modelica annotations. Two issues were found:
When white space is removed from extrapolated model metadataLanguage line, modelica-json throws an error
The extrapolated semantic model is incomplete, since not all annotations are extracted
To reproduce both errors go BOPTEST folder in terminal project1-boptest/testcases/bestest_air/models and run node $MODELICAJSONPATH/app.js -f BESTESTAir/TestCases/TestCase_Ideal.mo -o semantic -m modelica -d m2j_output. BOPTEST reference branch issue591
For error 1. Before running command remove white space in ‘BESTESTAir.TestCases.TestCase_Ideal.mo’ metadataLanguage declaration (see screenshot)
This is the resulting error:
For error 2. When .ttl file is generate two annotations are missing, one for the zone temperature BESTESTAir.BaseClasses.Case600FF.reaTRooAir and one for the zone CO2 BESTESTAir.BaseClasses.Case600FF.reaCO2RooAir. Reason unclear, only difference from other annotations is the level of nesting (Annotation is 2 levels deep instead of 1 level deep compared to starting model).
The text was updated successfully, but these errors were encountered:
This issue reports problems found when trying to postprocess BOPTEST
bestest_air
model using modelica-json to extrapolate semantic model from Modelica annotations. Two issues were found:To reproduce both errors go BOPTEST folder in terminal
project1-boptest/testcases/bestest_air/models
and run node$MODELICAJSONPATH/app.js -f BESTESTAir/TestCases/TestCase_Ideal.mo -o semantic -m modelica -d m2j_output
. BOPTEST reference branch issue591For error 1. Before running command remove white space in ‘BESTESTAir.TestCases.TestCase_Ideal.mo’ metadataLanguage declaration (see screenshot)
This is the resulting error:
For error 2. When .ttl file is generate two annotations are missing, one for the zone temperature
BESTESTAir.BaseClasses.Case600FF.reaTRooAir
and one for the zone CO2BESTESTAir.BaseClasses.Case600FF.reaCO2RooAir
. Reason unclear, only difference from other annotations is the level of nesting (Annotation is 2 levels deep instead of 1 level deep compared to starting model).The text was updated successfully, but these errors were encountered: