[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.

 

 

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@energyae.com

608 Harris St Sydney NSW 2007 Australia | http://www.energyae.com

 

From: TRNSYS-users [mailto:trnsys-users-bounces@lists.onebuilding.org] On Behalf Of ahmed serageldin via TRNSYS-users
Sent: Tuesday, September 20, 2016 11:16 AM
To: Hsein Moussawi <hsein_moussawi@hotmail.com>; TRNSYS users mailing list at OneBuilding.org <trnsys-users@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@gmail.com - ahmed.serageldin@ejust.edu.eg

Website: www.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@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@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@lists.onebuilding.org>
Sent: Sunday, September 18, 2016 8:57 AM
To: trnsys-users@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@gmail.com - ahmed.serageldin@ejust.edu.eg

Website: www.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@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org