Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Jul 25, 2024
1 parent e00f917 commit 5fdbb9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/torque_controlled_generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5fdbb9d

Please sign in to comment.