[TRNSYS-users] Deactivate battery

Manrique Delgado Benjamin via TRNSYS-users trnsys-users at lists.onebuilding.org
Fri Jul 15 00:58:39 PDT 2016


Thanks for the reply. I have used that strategy successfully with other Types, but unfortunately the inverter just ignores the switch. A message in the List file says ”The input to the listed units have not converged at this timestep. The values at the last iteration will be used and the simulation will proceed”.


From: Ben Heymer [mailto:bheymer at gmail.com]
Sent: Thursday, July 14, 2016 9:43 PM
To: Manrique Delgado Benjamin <benjamin.manriquedelgado at aalto.fi>; TRNSYS users mailing list at OneBuilding.org <trnsys-users at lists.onebuilding.org>
Subject: Re: [TRNSYS-users] Deactivate battery

I'm not familiar with that component (Type 47a) but its usually possible to use equations to effectively disconnect the links to and from any Type.

You can zero out inputs to the type with something like this:
input1 = datapoint1 * switch  ! (where "switch" = 1 for "on" or 0 for "off")

You can choose to use outputs from one type or another type with something like this:
output1 = output1a * switch + output1b * (1 - switch)  ! (where "switch" = 1 for "on" or 0 for "off")

This will take a bit of time to set up and it's not very elegant, but the freedom to hack is what makes TRNSYS great!

On Thu, Jul 14, 2016 at 9:54 AM, Manrique Delgado Benjamin via TRNSYS-users <trnsys-users at lists.onebuilding.org<mailto:trnsys-users at lists.onebuilding.org>> wrote:
Dear all,

Is there a way to deactivate a battery (Type 47a) without having to delete it from a model? I want to do an optimization that includes options with and without battery, so I need to find a way to give the battery zero capacity or stop the inverter from charging/discharging it. I have tried different values for High and Low limit on FSOC but the inverter basically ignores them when the value doesn’t converge. Any suggestions?

Cheers,
Benjamin Manrique D.
Aalto University
Finland

_______________________________________________
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/20160715/a1658c71/attachment.htm>


More information about the TRNSYS-users mailing list