common

Common functions for the simulations of Networks

compute_hx_ideal_mdot(demand, dt=-30.0, cp_fluid=4182.0)[source]

Computes the ideal mass flow that the heat exchanger would need to get the requested energy given a fixed design difference between its inlet and outlet temperature

compute_pipe_section_area(diameter)[source]

Computes the pipe section area from the diameter.