Skip to content

Inverter

InverterModel

__init__(pwr_pars)

Python version: 3.5 Created by: Thomas Herrmann (thomas.herrmann@tum.de) Created on: 01.04.2020

Documentation: Inverter class for the optimization of global trajectories for electric race cars implemented in the CasADi modeling language.

Inputs: pwr_pars: powertrain parameters defined in the initialization file

extract_sol(w, sol_states)

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Defines function to retrieve values of optimized NLP inverter

Inputs: w: discrete optimized NLP decision variables (x and u) sol_states: numeric values belonging to the symbolic NLP decision variables w

get_increment(sf, temp_cool_mi, temp_cool_12)

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Initializes temperature increment of inverter symbolically (sf * dx/dt = dx/ds)

Inputs: sf: transformation factor dt/ds temp_cool_mi: cooling fluid temperature of machine-inverter cooling circuit [°C] temp_cool_12: intermediate temperature within motor-inverter cooling circuit (radiator-motor) [°C]

get_inverters_cum_losses()

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Calculate total loss of all inverters in electric powertrain

get_loss(i_eff, v_dc, p_out_inv=None)

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Initializes total power loss of a single inverter and split into loss effects (with detailed models) or loss power of a single e-machine using a simple power fit to measured data (input -- output power). p_out_inv can be left empty in case of detailed loss model usage.

Inputs: i_eff: effective current through one electric machine [A] v_dc: terminal voltage battery [V] p_out_inv: output power of single inverter [kW]

get_thermal_resistance()

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Calculates thermal resistance of inverter

ini_nlp_state(x, u)

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Defines function to define inverter states in NLP

Inputs: x: discrete NLP state u: discrete NLP control input

initialize()

Python version: 3.5 Created by: Thomas Herrmann Created on: 01.04.2020

Documentation: Initialization of necessary optimization variables (symbolic CasADi expressions) and states including limits.