First time here? Check our help page!
1

EnergyPlus FMU to Modelica

I am using EnergyPlus to export and FMU and imported to Modelica. I am trying to replicate the model shown in http://simulationresearch.lbl.gov/fmu... which seems to work fairly ok. However, my next step is to include a PI-controller for the cooling mode. When i add the PI-controller the model doesn't seem to work properly as the results for the temperature are completely out of the setpoints (20C-heating and 27C-cooling). thank you in advance. I have attached also a screenshot of the PI-controller. I tried to tune the controller by adjusting the parameters K,Ti and although it has an effect on the results, still they are far away from the desired values. Could you please advice me on this issue? Thank you !!

image description

Charalampos Angelopoulos's avatar
386
Charalampos Angelopoulos
asked 2017-10-04 13:05:51 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-05-21 15:11:03 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

2

I can't see anything in this annual plot other than that the room temperature switches multiple times between -100 and 220 degC. I suspect you have too high a control action (otherwise you would not get such extreme room temperatures) and your gains are such that the control is unstable. At this experimental stage, I see no reason for adding an integral term in the controller as integral terms can cause instability if incorrectly tuned, and all they do is avoid a steady state error. Your first task should be to get a stable P controller with reasonable actuation power, and then if you need to reduce the steady-state error, add integral action.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2017-10-04 17:11:07 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

This is the model i am working on! When i changed the parameters of the gain to 0.001 and Ti=300, then the model seems to work better. I also used the P-Controller as you suggested, and the results are similar to the PI case. For the P-Controller k=0.01. My question is if those numbers seem reasonable or are too small.

image description

Charalampos Angelopoulos's avatar
386
Charalampos Angelopoulos
answered 2017-10-05 04:21:58 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments