Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » Matthieu1
  • » Profile

Posts

Posts

I also tried the model on the "Nightly Build" version but I have the following new error message link to the compiler:

"division leads to inf or nan at time 0, (a=1.#INF) / (b=1.54879), where divisor b is: pvField.electricalModel.Ut * /*Real*/(pvField.electricalModel.nCelSer)
BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem_functions.c:406: Invalid root: (-4.59431e-016)^(0.4)
Failed to solve the initialization problem without homotopy method. If homotopy is available the homotopy method is used now.
division leads to inf or nan at time 0, (a=1.#INF) / (b=1.54879), where divisor b is: pvField.electricalModel.Ut * /*Real*/(pvField.electricalModel.nCelSer)
BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem_functions.c:406: Invalid root: (-4.59431e-016)^(0.4)
simulation terminated by an assertion at initialization
Simulation process failed. Exited with code -1."

Could you help me please to solve this error?
Thank you in advance,
Matthieu.

Hello,

I am new on the Modelica Software and I am currently working on a project which consists to simulate an air conditioning system working in a building, house or flat.
The goal of my project is to simulate both the thermal environment of the building and the HVAC system to observe if the air conditioning system is working properly.
That's why I need to use a model that will simulate the thermal behaviour of the building. I decided to choose the R3C2 model for that.
Then, I would like to make a coupling of the two models to have a complete system.

Concerning the Photovoltaïc Cooling System, is it possible to use it in order to simulate a basic air conditioning system?
I tried to simulate the model given without changing anything but I don't have results. Do I have to change something to make it works?

If you have any questions, please ask me.

Thank you in advance,
Matthieu

Jul-19-19 09:01:32
Error when I try to simulate the model wih the standard values.

Hello,
Thank you for your answer.
I will try the nightly builds version.

What do you mean about " special flags" in OMEdit?

Yes I have my own model that fails.

Sincerely,
Matthieu.

Jul-18-19 13:47:22
Error when I try to simulate the model wih the standard values.

Hello, I am new on the Modelica software and I need to use it for my project which consists of modeling the thermal behaviour of a building with an analogy to R3C2 electrical model. I saw that Modelica already has an R3C2 model and I want to use it and apply it to my case.
But when I tried to simulate the model, I have the following error:

Traduction erreur
[C:/OM113/OM64bit/OMCompiler/Compiler/FrontEnd/Inline.mo: 1160:9-1160:99] : Internal error Unknown element : parameter Real Tmin = 273.16.

I don't understand where this error came fom and after compiling, it's says that the simulation ends sucessfully.
However, when I want to plot graphs, I don't have any results.

The model that I use is located in the BuildSysPro 3.2.0 library, BuildingStock, RnCm, Examples.
My version of Modelica is: OpenModelica1.13.264bit.

Could you help me please. If you want any other information, please tell me.
Thank you in advance,
Matthieu.

  • Index
  • » Users
  • » Matthieu1
  • » Profile
You are here: