RCAIDE.Library.Methods.Thermal_Management.Reservoirs.Reservoir_Tank.compute_mixing_temperature
compute_mixing_temperature#
- compute_mixing_temperature(reservoir, state, coolant_line, delta_t, t_idx)[source]#
Computes the resultant temperature of the reservoir at each time step with coolant exchanging heat to the environment.
- Parameters:
reservoir (dict) – Reservoir Data Structure - reservoir.surface_area - reservoir.volume - reservoir.thickness - reservoir.material.conductivity - reservoir.material.emissivity - reservoir.coolant
state (dict) – State Data Structure - state.conditions.freestream.temperature - state.conditions.energy.coolant_line[reservoir.tag].coolant_temperature
coolant_line (dict) – Coolant Line Data Structure
delta_t (float) – Time step
t_idx (int) – Time index
- Returns:
Updated temperature of the reservoir coolant
- Return type:
float
- Assumptions:
N/A
- Source:
None