Skip to content

Radiators

RadiatorModel

__init__(pwr_pars)

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

Documentation: Radiators 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 radiators

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

get_increment_b(sf, temp_batt, temp_cool_b, R_eq_B_inv)

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

Documentation: Initializes temperature increment of radiator in battery circuit symbolically (sf * dx/dt = dx/ds)

Inputs: sf: transformation factor dt/ds temp_batt: temeprature of battery [°C] temp_cool_b: temeprature of cooling liquid battery [°C] R_eq_B_inv: inverse of thermal resistance of battery [W/K]

get_increment_mi(sf, temp_mot, temp_inv, r_inv, r_machine)

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

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

Inputs: sf: transformation factor dt/ds temp_mot: temeprature of electric machine [°C] temp_inv: temeprature of inverter [°C] r_inv: thermal resistance of inverter [K/W] r_machine: thermal resistance of electric machine [K/W]

get_intermediate_temps(temp_inv, r_inv)

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

Documentation: Returns intermediate temps motor inverter necessary for thermodynamical modelling (motor + inverter circuit)

Inputs: temp_inv: inverter temperature [°C] r_inv: inverter thermal resistance [K/W]

get_thermal_resistance()

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

Documentation: Calculates thermal resistance of single radiator to be used within a lumped thermal model description

ini_nlp_state(x, u)

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

Documentation: Defines function to define radiators' 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.