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
Both pacakges are added to the header of modelica file
Only works when Heatpump or Heapum are part of supply template title
Does not work together with sim_setup
Just quick solution
Description
Generated modelica code states MediumAir = Medium air
This throws error in dymola, since MediumAir is not defined
Caused by
Unsufficient mako template generation, since mediums are treated as names and not variables:
def __generate_package_string(self, packages):
package_str = ""
for package in set(packages):
package_str = package_str + str(
f" redeclare package {package} = {package},\n")
return package_str
The text was updated successfully, but these errors were encountered: