0c2f54da0ae3e3802f1816ef45e81835007ca427,trunk/SUAVE/Components/Energy/Networks/Battery_Propeller.py,Battery_Propeller,evaluate_thrust,#Battery_Propeller#,71
Before Change
// Create the outputs
F = num_engines* F * [np.cos(self.thrust_angle),0,-np.sin(self.thrust_angle)]
mdot = np.zeros_like(F)
F_mag = np.atleast_2d(np.linalg.norm(F, axis=1)/Units.lbs) // lb
conditions.propulsion.disc_loading = (F_mag.T)/ (num_engines*np.pi*(R/Units.feet)**2) // lb/ft^2
conditions.propulsion.power_loading = (F_mag.T)/(P/Units.hp) // lb/hp
results = Data()
results.thrust_force_vector = F
After Change
// Create the outputs
F = num_engines* F * [np.cos(self.thrust_angle),0,-np.sin(self.thrust_angle)]
mdot = np.zeros_like(F)
F_mag = np.atleast_2d(np.linalg.norm(F, axis=1))
conditions.propulsion.disc_loading = (F_mag.T)/ (num_engines*np.pi*(R)**2) // N/m^2
conditions.propulsion.power_loading = (F_mag.T)/(P) // N/W
results = Data()
results.thrust_force_vector = F
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances
Project Name: suavecode/SUAVE
Commit Name: 0c2f54da0ae3e3802f1816ef45e81835007ca427
Time: 2020-03-25
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Components/Energy/Networks/Battery_Propeller.py
Class Name: Battery_Propeller
Method Name: evaluate_thrust
Project Name: suavecode/SUAVE
Commit Name: 0c2f54da0ae3e3802f1816ef45e81835007ca427
Time: 2020-03-25
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Components/Energy/Networks/Solar.py
Class Name: Solar
Method Name: evaluate_thrust
Project Name: suavecode/SUAVE
Commit Name: 0c2f54da0ae3e3802f1816ef45e81835007ca427
Time: 2020-03-25
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Components/Energy/Networks/Solar_Low_Fidelity.py
Class Name: Solar_Low_Fidelity
Method Name: evaluate_thrust