3#include <janus/janus.hpp>
19template <
typename Scalar>
21 const Scalar &efficiency) {
22 return 2.0 * efficiency * power / Ve;
36template <
typename Scalar>
38 const Scalar &efficiency) {
39 return (2.0 * power * efficiency) / (Ve * Ve);
54template <
typename Scalar>
57 return janus::sqrt(2.0 * efficiency * power / mdot);
Definition Electric.hpp:5
Scalar thrust_from_power(const Scalar &power, const Scalar &Ve, const Scalar &efficiency)
Calculates thrust for power-limited propulsion.
Definition Electric.hpp:20
Scalar mass_flow_from_power(const Scalar &power, const Scalar &Ve, const Scalar &efficiency)
Calculates mass flow rate for power-limited propulsion.
Definition Electric.hpp:37
Scalar characteristic_velocity(const Scalar &power, const Scalar &efficiency, const Scalar &mdot)
Calculates characteristic velocity (exhaust velocity) from power and mass flow.
Definition Electric.hpp:55