Skip to content

Commit

Permalink
Merge pull request #292 from SebastianM-C/smc/guess
Browse files Browse the repository at this point in the history
Switch defaults for guesses for some components
  • Loading branch information
ChrisRackauckas authored May 10, 2024
2 parents 3a8fb0a + 39f5098 commit 76b07b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Electrical/Analog/ideal_components.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ Electromotoric force (electric/mechanic transformer)
k, [description = "Transformation coefficient"]
end
@variables begin
phi(t) = 0.0, [description = "Rotation Angle"]
w(t) = 0.0
phi(t), [guess = 0.0, description = "Rotation Angle"]
w(t), [guess = 0.0]
end
@extend v, i = oneport = OnePort()
@components begin
Expand Down

0 comments on commit 76b07b3

Please sign in to comment.