f2dd4bb501b04e8d706c711e6dde5a954be75dce,trunk/SUAVE/Components/Energy/Networks/Serial_Hybrid_Ducted_Fan.py,Serial_Hybrid_Ducted_Fan,evaluate_thrust,#Serial_Hybrid_Ducted_Fan#,67

Before Change


        payload.power()

        // Calculate the esc input current
        esc.inputs.currentout =  np.transpose(motor_power/np.transpose(esc.outputs.voltageout))
        
        // Run the esc
        esc.currentin(conditions)

After Change



        // Calculate ducted fan power
        results             = propulsor.evaluate_thrust(state)
        propulsive_power    = np.reshape(results.power, (-1,1))
        motor_power         = propulsive_power/self.motor_efficiency 
      
        // Set the esc input voltage
        esc.inputs.voltagein = self.voltage
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: suavecode/SUAVE
Commit Name: f2dd4bb501b04e8d706c711e6dde5a954be75dce
Time: 2019-04-16
Author: ezmac12@gmail.com
File Name: trunk/SUAVE/Components/Energy/Networks/Serial_Hybrid_Ducted_Fan.py
Class Name: Serial_Hybrid_Ducted_Fan
Method Name: evaluate_thrust


Project Name: suavecode/SUAVE
Commit Name: f2dd4bb501b04e8d706c711e6dde5a954be75dce
Time: 2019-04-16
Author: ezmac12@gmail.com
File Name: trunk/SUAVE/Components/Energy/Networks/Battery_Ducted_Fan.py
Class Name: Battery_Ducted_Fan
Method Name: evaluate_thrust


Project Name: interactiveaudiolab/nussl
Commit Name: 186d078f6f9de9d7f50da14b29166b77290b93ca
Time: 2020-03-29
Author: prem@u.northwestern.edu
File Name: nussl/ml/networks/modules.py
Class Name: Embedding
Method Name: forward


Project Name: explosion/thinc
Commit Name: f2fc17c740d609e7fd9118093f7fad7824d3415e
Time: 2019-06-03
Author: daras.giannhs@gmail.com
File Name: thinc/neural/_classes/multiheaded_attention.py
Class Name: MultiHeadedAttention
Method Name: _scaled_dot_prod