hello again,

on my system it want work :(

OpenModelica distribution as of now doesn't contain the Thermal
library, but if I use the latest Modelica Standard Library 3.0
then I can simulate your model. Check the attached .mo and .mos.
I had to change from:
Modelica.Thermal.HeatTransfer.HeatCapacitor
to:
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor

i get the latest Modelica Standard Lib and i changed the code

To use a different library you will need to edit your environment
variable called OPENMODELICALIBARY to point to the new library.

(i renamed Modelica 3.0 lib to Modelica and placed it at
D:\mod3lib\ModelicaLibrary\Modelica then i set the environment variable 
OPENMODELICALIBARY
to D:\mod3lib\ModelicaLibrary)

done, but i get this information:


#####

simulate(SimpleRoomR1, stopTime=8)
record
    resultFile = "Simulation failed.
Type mismatch in modifier, expected type Integer, got modifier =2147483647.0 of 
type Real
Variable Modelica.Constants.T_zero not found in scope 
Modelica.SIunits.Conversions.from_degC
Variable Modelica.Constants.T_zero not found in scope 
Modelica.SIunits.Conversions.from_degC
Internal error Code generation of Modelica functions failed.
"
end record

#####

Reply via email to