@@ -71,8 +71,8 @@ Partial model for the compliant connection of two rotational 1-dim. shaft flange
7171 flange_b = Flange ()
7272 end
7373 @variables begin
74- phi_rel (t) = 0.0 , [description = " Relative rotation angle between flanges" ]
75- tau (t) = 0.0 , [description = " Torque between flanges" ]
74+ phi_rel (t), [description = " Relative rotation angle between flanges" , guess = 0.0 ]
75+ tau (t), [description = " Torque between flanges" , guess = 0.0 ]
7676 end
7777 @equations begin
7878 phi_rel ~ flange_b. phi - flange_a. phi
@@ -104,10 +104,11 @@ Partial model for the compliant connection of two rotational 1-dim. shaft flange
104104 flange_b = Flange ()
105105 end
106106 @variables begin
107- phi_rel (t) = 0.0 , [description = " Relative rotation angle between flanges" ]
108- w_rel (t) = 0.0 , [description = " Relative angular velocity between flanges" ]
109- a_rel (t) = 0.0 , [description = " Relative angular acceleration between flanges" ]
110- tau (t) = 0.0 , [description = " Torque between flanges" ]
107+ phi_rel (t), [description = " Relative rotation angle between flanges" , guess = 0.0 ]
108+ w_rel (t), [description = " Relative angular velocity between flanges" , guess = 0.0 ]
109+ a_rel (t),
110+ [description = " Relative angular acceleration between flanges" , guess = 0.0 ]
111+ tau (t), [description = " Torque between flanges" , guess = 0.0 ]
111112 end
112113 @equations begin
113114 phi_rel ~ flange_b. phi - flange_a. phi
@@ -138,7 +139,8 @@ Partial model for a component with one rotational 1-dim. shaft flange and a supp
138139@component function PartialElementaryOneFlangeAndSupport2 (; name, use_support = false )
139140 @named flange = Flange ()
140141 sys = [flange]
141- @variables phi_support (t)= 0.0 [description = " Absolute angle of support flange" ]
142+ @variables phi_support (t) [
143+ description = " Absolute angle of support flange" , guess = 0.0 ]
142144 if use_support
143145 @named support = Support ()
144146 eqs = [support. phi ~ phi_support
@@ -173,7 +175,8 @@ Partial model for a component with two rotational 1-dim. shaft flanges and a sup
173175 @named flange_a = Flange ()
174176 @named flange_b = Flange ()
175177 sys = [flange_a, flange_b]
176- @variables phi_support (t)= 0.0 [description = " Absolute angle of support flange" ]
178+ @variables phi_support (t) [
179+ description = " Absolute angle of support flange" , guess = 0.0 ]
177180 if use_support
178181 @named support = Support ()
179182 eqs = [support. phi ~ phi_support
0 commit comments