Control air flow path

144 views
Skip to first unread message

Mohammed Dhiya_eddine SARMOUK

unread,
Oct 25, 2022, 9:15:57 PM10/25/22
to CONTAM
Hello,
I want to control the openning/closing of a window based on a setpoint and not a schedule. 
- Is it possible to control the multiplier during transient simulation ? (set it at 0 for closed window or 1 for open window).
Thank you.

SARMOUK.

Message has been deleted

D. J. LEE

unread,
Oct 26, 2022, 1:00:06 AM10/26/22
to CONTAM, mohammed_dhiya...@g.enp.edu.dz
As far as I know, closed path element( door, duct terminal etc.) cannot be open by control.
Fortunately we can compose a control logic to close an open door!

Here is the simplest example to control the opening of a door.

Regards,

2022년 10월 26일 수요일 오전 10시 15분 57초 UTC+9에 mohammed_dhiya...@g.enp.edu.dz님이 작성:
Control_DoorOpening.prj

William Dols

unread,
Oct 26, 2022, 9:35:19 AM10/26/22
to CONTAM, avions...@gmail.com, mohammed_dhiya...@g.enp.edu.dz
The attached PRJ provides a method of setting an airflow rate based on a setpoint value (concentration).
Similar logic/method could be used to control window opening/closing.
Review and experiment with the other types of control elements to obtain your specific outcome.
- Stuart
Test_Ctrls_ULS_SN_3.prj
Test_Ctrls_ULS_SN_3.xlsx

William Dols

unread,
Oct 26, 2022, 9:48:42 AM10/26/22
to CONTAM, William Dols, avions...@gmail.com, mohammed_dhiya...@g.enp.edu.dz
I should clarify that the value applied by the control acts in concert with the multiplier of a building component, e.g., airflow path.
That is both the "multiplier" and the control or schedule value are multiplied together when calculating the resultant value, e.g., airflow rate, contaminant generation rate, etc.
Therefore, once you've set a multiplier to zero, no matter the schedule or control value, the resultant value will be zero.

Multipliers are provided as a means to affect multiple building components within a single item on the SketchPad, e.g., a bank of windows, total area of an area-based airflow element, multiple contaminant sources, etc.

- Stuart


Mohammed Dhiya_eddine SARMOUK

unread,
Oct 26, 2022, 9:54:33 AM10/26/22
to William Dols, CONTAM, avions...@gmail.com
Much appreciated for the help.

Mohamed SARMOUK
Docteur en Génie mécanique.
Energies propres et renouvelables.
Laboratoire Génie mécanique & développement.
Ecole Nationale Polytechnique d'Alger.
Mob : +213(0)776-752-272/ +33(0)651-970-198

yan8...@gmail.com

unread,
Nov 11, 2022, 10:01:46 AM11/11/22
to CONTAM, mohammed_dhiya...@g.enp.edu.dz, avions...@gmail.com, willia...@nist.gov
Hello,
  1. I'm trying to control the window opening schedule based on temperature (e.g., window open if Tin is over 25c). I'm not entirely sure that the following control setting is correct. In particular, not sure which one is input 1, and which is input 2.  The subtract function says input 1 minus input 2. Firstly, I tried it in the CONTAM. The air contaminant curve did change following the window schedule change, as expected.  Eventually, I will need to implement this control architecture in the co-simulation (E+ and CONTAM) but I'd like to know if the basic setting is right or not from anyone who is experienced in setting the control in CONTAM.
TemControlWindow.png

   2. Another question is if I want to set a more complex control, say window open only if Tin is over 25 c and the time is later than 7 pm, what's the best way to do that? 

Many thanks for your help.

Regards 

Yan

William Dols

unread,
Nov 11, 2022, 11:43:46 AM11/11/22
to CONTAM, yan8...@gmail.com, mohammed_dhiya...@g.enp.edu.dz, avions...@gmail.com, William Dols
Yan,
  1. Please refer to the Working with Controls -> Drawing Controls section of the CONTAM User Guide for an explanation of Inputs.
    Place a "Report a value..." controls on other controls to see what value are being calculated by your control logic.
    These values will be written to the <project file name>.LOG file.
    This is a means to debug your control networks.
    According to your diagram the airflow path will be "open" when Tsensor - Tset > 0.
  2. You could utilize a "Schedule" control with a value of 1 for when you want to allow the window to be opened and 0 to prevent it from opening.
    Utilize this control node within your logic along with other requirements, for example by multiplying the binary output by the  schedule value.
    Again, utilize report nodes to debug your control logic.
- Stuart

Y Wang

unread,
Nov 16, 2022, 10:05:31 AM11/16/22
to William Dols, CONTAM
Hi Stuart,

Many thanks for your reply. I managed to use the temperature setpoint to control the window schedule. It worked fine, as I verified it through the log file, the way you suggested. 

In the co-simulation, the control should use the temperature passed from E+ to actuate the window opening smoothly. But it didn't work that way - the window was open all time. 

My understanding from reading the Help manual is that I didn't have to modify the EP scripts for the control. I also found that an 'ExternalInterface:FunctionalMockupUnitImport:From:Variable' object was automatically created by the Contam3DExport, as expected. So I couldn't figure out where it possibly went wrong. 

It'd be really helpful if you can offer further tips/advice. Thanks for your help.

Regards 

Yan

 

William Dols

unread,
Nov 16, 2022, 10:31:10 AM11/16/22
to CONTAM, yan8...@gmail.com, CONTAM, William Dols
Yan,
It's difficult to tell what's happening without the input files.
You can share the IDF, PRJ, XML, VEF, and EPW files that you are using, and I will look into it.
Feel free to send them directly to me if you do not want to share with the group.
- Stuart
Reply all
Reply to author
Forward
0 new messages