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

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