I want to model the actual energy system of an alpine hut. The electrical system includes a diesel generator, photovoltaic and a battery storage. Whenever the battery reaches its minimum storage level, the generator starts and fully charge the battery from 40% to 80%. Any idea, how to tell the transformer to fully charge the battery?
Thanks in advance for your help!