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

Re: [TRNSYS-users] Integrator negative vlaue



Dear Farah,

When you feed an negative value into an integrator, it integrates the
negative value accordingly. I have created and attached a simple project
that demonstrates this. The integrated value should decrease when you feed
the negative value assuming you are using Type24 for your integration. If
you're using Type55, you will probably have to alter the parameters
accordingly to make sure it is doing what you intend. I am not quite sure
why it doesn't integrate anymore in your case. If you send me your
project, I might be able to find some time tomorrow to take a look.

Best regards,

Matt Duffy



----- Original Message -----
From: "Farah Gammoh" <fgammoh@stud.fh-offenburg.de>
Sent: Wed, September 23, 2009 7:09
Subject:[TRNSYS-users] Integrator negative vlaue

Hello,
What happens when you feed in a negative value into an integrator?
I would like to subtract something rather than add, but an itegrator
doesnt seem to
do that. Once i feed in a negative value, It doesnt integrate anymore, the
value
remains the same.

Or if that doesnt work, I would like to reset the itegrator under certain
conditions. Meaning, when the integrator recieves a value of 0, it is
reset to zero
too.
I tried doing that by subtracting the value of the integrator from itself,
but as
mentioned above, it doesnt seem to work.

Thanks,
Farah


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users


----- End of original message -----

Attachment: Project98.tpf
Description: Binary data