diff --git a/src/torque_controlled_generator.jl b/src/torque_controlled_generator.jl index fd98b64..3001321 100644 --- a/src/torque_controlled_generator.jl +++ b/src/torque_controlled_generator.jl @@ -40,6 +40,10 @@ struct TorqueControlledMachine <: AbstractWinchModel brake::Bool = true; end +function TorqueControlledMachine(set::Settings) + TorqueControlledMachine(set=set) +end + # calculated the motor reactance X [Ohm] function calc_reactance(wm::TorqueControlledMachine) wm.u_nom^2 / (2 * wm.omega_sn * wm.tau_b)