I just updated the branch for this issue with the batteryComplexIA, which can calculate the current and voltage.
Further I added the transformer model.
@nytschgeusen, please check if the structure and style is according to your preferences.
@nytschgeusen, I added the simulate and plot files for the complexBatteryIU model and an example (incl. simulate and plot) for the DCAC transformer in "grid connected" and in "not grid connected" mode
I just updated the branch for this issue with the batteryComplexIA, which can calculate the current and voltage. Further I added the transformer model.
@nytschgeusen, please check if the structure and style is according to your preferences.