ya-hey! simulate(SimpleRoomR1, stopTime=8E4)
i have trouble with the simulationtime - if i run my model with dymola its all okay (latency maybe 1 min), but if i run with omc i have to wait nearly 1,5h to get a result
if i change the tolerance, then i wait still 15min simulate(SimpleRoomR1, stopTime=8E4, tolerance=0.1) can i do something against this? (my computer has cpu = 2ghz and ram = 512mb) greetings christian ##### model ThermalResistor extends Modelica.Thermal.HeatTransfer.Interfaces.Element1D; parameter Modelica.SIunits.ThermalResistance R; equation Q_flow=1/R*dT; end ThermalResistor; model SimpleRoomR1 "Modelling of one wall only" ThermalResistor R_Rest_AW(R=0.0170356); ThermalResistor R_1_AW(R=0.0170356); Modelica.Thermal.HeatTransfer.Components.HeatCapacitor C_1_AW(C=1.49028e6); Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature T_A; Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature T_I; equation T_A.T=25; T_I.T=21; connect(T_A.port, R_Rest_AW.port_a); connect(T_I.port, R_1_AW.port_b); connect(R_Rest_AW.port_b, C_1_AW.port); connect(C_1_AW.port, R_1_AW.port_a); end SimpleRoomR1; #####
