Simulation of air conditioner in openmodelica/matlab?

In summary, you are trying to use two different simulation programs to model a thermal system. You need to decide which program to use and then you will need to work with a thermal engineer to create the thermal model.
  • #1
srinaath
52
2
am trying to simulate air conditioner in open modelica and matlab.. is there any library like hvac so that i can do the simulation in mush easier way...
 
  • #3
Yes, further information would help - the question is very vague. What about the air conditioner are you trying to simulate? What input information do you have?
 
  • #4
russ_watters said:
Yes, further information would help - the question is very vague. What about the air conditioner are you trying to simulate? What input information do you have?
hi russ, am trying to simulate simple vapor compression cycle system- compressor, evaporator, expansion (electronic type)
and condenser...and control system...
 
  • #5
srinaath said:
hi russ, am trying to simulate simple vapor compression cycle system- compressor, evaporator, expansion (electronic type)
and condenser...and control system...
That isn't good enough: That could be an minute's, day's, month's or years' worth of work. There is no way to know unless you tell us, specifically, what you want to know, why, how accurate, and on what information you base it. I am an HVAC engineer: I do that sort of modeling every day.

Why are you trying to model this system? And to repeat from my last post: what input information do you have?

You need to tell us:
"I want to input XXXXX"
and
"I need it to output YYYY"

Sample answer:
1.3 kW/Ton
Is that what you need?
 
  • #6
russ_watters said:
That isn't good enough: That could be an minute's, day's, month's or years' worth of work. There is no way to know unless you tell us, specifically, what you want to know, why, how accurate, and on what information you base it. I am an HVAC engineer: I do that sort of modeling every day.

Why are you trying to model this system? And to repeat from my last post: what input information do you have?

You need to tell us:
"I want to input XXXXX"
and
"I need it to output YYYY"

Sample answer:
1.3 kW/Ton
Is that what you need?

Russ, sorry that i didn't mention my objective clearly...i need to validate my control algorithm developed for conventional air conditioner by simulation. by conventional air conditioner, i mean normal on/off compressor system...i thought i could simulate the actual air conditioner...so when i feed my control system i can check how they are responding...like i will be measuring suction pressure and temperature, response time of EXV, etc...
 
  • #7
This is potentially very difficult. I ask again: what input data do you have? I'm guessing at this point that you don't even have a particular air conditioner in mind, much less detailed information about its performance?

You will need to pick an air conditioner and either obtain or generate a detailed performance model (how it performs in different conditions). Then you'll need to pick a room or building it is conditioning and create a load model to apply to the performance model. Alternately, if there is a real air conditioner and building somewhere that you can obtain performance data from, you can use that (some companies keep detailed performance trend data). Then you can apply your control algorithm to that.

Doing this right is probably a masters thesis level type of project.
 
  • #8
russ_watters said:
This is potentially very difficult. I ask again: what input data do you have? I'm guessing at this point that you don't even have a particular air conditioner in mind, much less detailed information about its performance?

You will need to pick an air conditioner and either obtain or generate a detailed performance model (how it performs in different conditions). Then you'll need to pick a room or building it is conditioning and create a load model to apply to the performance model. Alternately, if there is a real air conditioner and building somewhere that you can obtain performance data from, you can use that (some companies keep detailed performance trend data). Then you can apply your control algorithm to that.

Doing this right is probably a masters thesis level type of project.

you are right russ..this is my project for master thesis...well actually am an electrical and electronics engineer and i have some basic understanding of thermal system...the project is combined with electrical and thermal department...i will be doing the controls part while there is thermal guy, he has done load calculation of particular city for particular room and he has designed the air conditioner details for example heat excahnger's capacity, fins, what type of compressor to be used,etc ... now we are in simulation part..we have done our mathematical modelling but we are stuck to whether it will be suitable to use MATLAB or openmodelica...because we need to incorporate both control system and thermal system... for example say matlab, we can do control system within minutes but we have to design thermal system from scratch..but if you consider openmodelica there is predefined model for compressor, heat exchanger,etc,major drawback is both of us are not familiar with modelica...whether to go with MATLAB which am familiar and build the thermal part or go with openmodelica and learn that software... .. moreover we will building a small prototype for proof of concept.. we are confused about the right software to be used
 
  • #9
srinaath said:
you are right russ..this is my project for master thesis...well actually am an electrical and electronics engineer and i have some basic understanding of thermal system...the project is combined with electrical and thermal department...i will be doing the controls part while there is thermal guy, he has done load calculation of particular city for particular room and he has designed the air conditioner details for example heat excahnger's capacity, fins, what type of compressor to be used,etc ... now we are in simulation part..we have done our mathematical modelling but we are stuck to whether it will be suitable to use MATLAB or openmodelica...because we need to incorporate both control system and thermal system... for example say matlab, we can do control system within minutes but we have to design thermal system from scratch..but if you consider openmodelica there is predefined model for compressor, heat exchanger,etc,major drawback is both of us are not familiar with modelica...whether to go with MATLAB which am familiar and build the thermal part or go with openmodelica and learn that software... .. moreover we will building a small prototype for proof of concept.. we are confused about the right software to be used
Interesting simulation. I think modelica is way simpler because tools and equipment have been predefined(also the script). All you need is some time to master the software and there is not much video tutorials on youtube for that, so, you gotto learn from scratch.
 

Related to Simulation of air conditioner in openmodelica/matlab?

1. What is the purpose of simulating an air conditioner?

The purpose of simulating an air conditioner is to model its behavior and performance in different conditions and parameters. This allows for testing and optimization of the system before it is actually built, saving time and resources.

2. What are the key components of the simulation model?

The key components of the simulation model include the compressor, condenser, evaporator, expansion valve, and refrigerant flow. Other factors such as heat transfer, insulation, and ambient temperature also play a role in the simulation.

3. How accurate are the results from the simulation?

The accuracy of the results depends on the complexity of the model and the accuracy of the input data. Generally, the results can be considered to be within a reasonable margin of error compared to real-life performance.

4. Can the simulation be used to predict energy consumption?

Yes, the simulation can be used to predict energy consumption of the air conditioner under different operating conditions. This can help in designing a more energy-efficient system.

5. How can the simulation be used for troubleshooting and maintenance?

The simulation can be used to identify potential issues and troubleshoot the system before they occur in real life. It can also be used to test different maintenance scenarios and determine the most effective maintenance schedule for the air conditioner.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
Replies
30
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
Replies
7
Views
1K
Replies
19
Views
3K
Replies
4
Views
813
  • MATLAB, Maple, Mathematica, LaTeX
Replies
10
Views
1K
Replies
29
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
Back
Top