[TRNSYS-users] How to write this equation in trnsy

Alastair McDowell via TRNSYS-users trnsys-users at lists.onebuilding.org
Mon Sep 19 18:42:31 PDT 2016


Hi Ahmed,

See a way to write & test this equation here, using the simulation hour as input for y and displaying the result to a plotter.

[cid:image001.png at 01D21334.0BF63E40]

Note that this equation is not valid for y < 0, maybe why you are getting an error.

Kind regards,
Alastair McDowell
Engineering Consultant
Energy Analysis & Engineering – Enabling innovation for a sustainable future
T: +61 450 600 842
E: alastair.mcdowell at energyae.com<mailto:alastair.mcdowell at energyae.com>
608 Harris St Sydney NSW 2007 Australia | http://www.energyae.com<http://www.energyae.com/>

From: TRNSYS-users [mailto:trnsys-users-bounces at lists.onebuilding.org] On Behalf Of ahmed serageldin via TRNSYS-users
Sent: Tuesday, September 20, 2016 11:16 AM
To: Hsein Moussawi <hsein_moussawi at hotmail.com>; TRNSYS users mailing list at OneBuilding.org <trnsys-users at lists.onebuilding.org>
Subject: Re: [TRNSYS-users] How to write this equation in trnsy

thanks all
but i tried ^ and ** with negative power value it give me error
run-time error M6201:MATH
so what cani do to write this equation

Yours sincerely;

Eng: Ahmed Mohamed Awad
Ph.D student
Energy Resources Engineering Department(ERE)
Egypt-Japan University of Science and Technology(EJUST)
Mob:+2010-65078029
Email: ahmedawadserageldin at gmail.com<mailto:heba_abadi at hotmail.com> - ahmed.serageldin at ejust.edu.eg<mailto:heba.abbadi at ejust.edu.eg>
Website: www.ejust.edu.eg<mailto:heba.abbadi at ejust.edu.eg>
P.O. Box 179, New Borg El-Arab City, Postal Code 21934, Alexandria, Egypt

P Please consider the environment and don't print this e-mail unless you really need to.


On Mon, Sep 19, 2016 at 7:25 PM, Hsein Moussawi via TRNSYS-users <trnsys-users at lists.onebuilding.org<mailto:trnsys-users at lists.onebuilding.org>> wrote:

I am so sorry Ahmed, I meant the ** instead.

And thanks for C K Lee for the correction.


------------------------------------------------------------------
Houssein Al Moussawi
PhD Joint Student
University of Caen Normandy & Lebanese University


________________________________
From: Hsein Moussawi via TRNSYS-users <trnsys-users at lists.onebuilding.org<mailto:trnsys-users at lists.onebuilding.org>>
Sent: Sunday, September 18, 2016 5:10 PM
To: ahmed serageldin; TRNSYS users mailing list at OneBuilding.org
Subject: Re: [TRNSYS-users] How to write this equation in trnsy


Try this form:



x = 2*(y)exp(-0.2)+3


------------------------------------------------------------------
Houssein Al Moussawi
PhD Joint Student
University of Caen Normandy & Lebanese University


________________________________
From: ahmed serageldin via TRNSYS-users <trnsys-users at lists.onebuilding.org<mailto:trnsys-users at lists.onebuilding.org>>
Sent: Sunday, September 18, 2016 8:57 AM
To: trnsys-users at lists.onebuilding.org<mailto:trnsys-users at lists.onebuilding.org>
Subject: [TRNSYS-users] How to write this equation in trnsy

Dear all

I try to write this equation in simulation studio but it didnot work

x = 2*y^-0.2+3

please help me to write this equation
Yours sincerely;

Eng: Ahmed Mohamed Awad
Ph.D student
Energy Resources Engineering Department(ERE)
Egypt-Japan University of Science and Technology(EJUST)
Mob:+2010-65078029
Email: ahmedawadserageldin at gmail.com<mailto:heba_abadi at hotmail.com> - ahmed.serageldin at ejust.edu.eg<mailto:heba.abbadi at ejust.edu.eg>
Website: www.ejust.edu.eg<mailto:heba.abbadi at ejust.edu.eg>
P.O. Box 179, New Borg El-Arab City, Postal Code 21934, Alexandria, Egypt

P Please consider the environment and don't print this e-mail unless you really need to.


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at lists.onebuilding.org<mailto:TRNSYS-users at lists.onebuilding.org>
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20160920/e6ea3389/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 57914 bytes
Desc: image001.png
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20160920/e6ea3389/attachment-0001.png>


More information about the TRNSYS-users mailing list