Hi Salim, you can do if
conditions like this: “GE (input1,
input2) * 333 + LT(input1, input2) * 666“ Explanation: GE… ‘greater
equal’ LT… ‘less
than’ In the first term GE(…)
compares the two inputs and returns ‘1’ if condition is true or ‘0’
if not - Second term works the same way… So if input1 >=
input2 the function above returns 333, if not the result is 666. Kind regards, Markus. DI Markus Brychta Energy Department Sustainable Building Technologies AIT Austrian Institute of Technology Österreichisches Forschungs- und Prüfzentrum Arsenal Ges.m.b.H. Giefinggasse 2 | 1210 Vienna | Austria T +43(0) 50550-6611 | M +43(0) 664 815 79 13| F +43(0)
50550-6613 markus.brychta@ait.ac.at
| http://www.ait.ac.at
FN: 165088b HG Wien | UID: ATU46577208 This email and any
attachments thereto, is intended only for use by the addressee(s) named herein
and may contain legally privileged and/or confidential information. If you are
not the intended recipient, please notify the sender by return e-mail or by
telephone and delete this message from your system and any printout thereof.
Any unauthorized use, reproduction, or dissemination of this message is
strictly prohibited. Please note that e-mails are susceptible to change.
Österreichisches Forschungs- und Prüfzentrum Arsenal Ges.m.b.H. shall not be
liable for the improper or incomplete transmission of the information contained
in this communication, nor shall it be liable for any delay in its receipt. Von: salim mokraoui
[mailto:salim.mokraoui@lermab.uhp-nancy.fr] Hi all, I’ve a simple question related to the
use of the equation editor in simulation studio. Can we use a condition (if) to
define an output from an equation editor ? What is the syntax ? (example: if Input
= x then Output = y) Best regards |