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

compute_heat_loss_to_environment(T_final, T_ambient, reservoir)[source]#
energy_balance(T_final, T_current, delta_t, mass_coolant, Cp_RES, Cp_HAS, Cp_HEX, mass_flow_HAS, T_outlet_HAS, mass_flow_HEX, T_outlet_HEX, reservoir, state, t_idx)[source]#