@@ -1093,6 +1093,12 @@ function dependent_parameters(sys::AbstractSystem)
1093
1093
end
1094
1094
end
1095
1095
1096
+ """
1097
+ $(TYPEDSIGNATURES)
1098
+ Get the parameter dependencies of the system `sys` and its subsystems.
1099
+
1100
+ See also [`defaults`](@ref) and [`ModelingToolkit.get_parameter_dependencies`](@ref).
1101
+ """
1096
1102
function parameter_dependencies (sys:: AbstractSystem )
1097
1103
pdeps = get_parameter_dependencies (sys)
1098
1104
if isnothing (pdeps)
@@ -1111,6 +1117,13 @@ function full_parameters(sys::AbstractSystem)
1111
1117
vcat (parameters (sys), dependent_parameters (sys))
1112
1118
end
1113
1119
1120
+ """
1121
+ $(TYPEDSIGNATURES)
1122
+
1123
+ Get the guesses for variables in the initialization system of the system `sys` and its subsystems.
1124
+
1125
+ See also [`initialization_equations`](@ref) and [`ModelingToolkit.get_guesses`](@ref).
1126
+ """
1114
1127
function guesses (sys:: AbstractSystem )
1115
1128
guess = get_guesses (sys)
1116
1129
systems = get_systems (sys)
@@ -1141,6 +1154,15 @@ end
1141
1154
1142
1155
Base. @deprecate default_u0 (x) defaults (x) false
1143
1156
Base. @deprecate default_p (x) defaults (x) false
1157
+
1158
+ """
1159
+ $(TYPEDSIGNATURES)
1160
+
1161
+ Get the default values of the system sys and its subsystems.
1162
+ If they are not explicitly provided, variables and parameters are initialized to these values.
1163
+
1164
+ See also [`initialization_equations`](@ref), [`parameter_dependencies`](@ref) and [`ModelingToolkit.get_defaults`](@ref).
1165
+ """
1144
1166
function defaults (sys:: AbstractSystem )
1145
1167
systems = get_systems (sys)
1146
1168
defs = get_defaults (sys)
@@ -1199,7 +1221,7 @@ $(TYPEDSIGNATURES)
1199
1221
1200
1222
Get the initialization equations of the system `sys` and its subsystems.
1201
1223
1202
- See also [`ModelingToolkit.get_initialization_eqs`](@ref).
1224
+ See also [`guesses`](@ref), [`defaults`](@ref), [`parameter_dependencies`](@ref) and [` ModelingToolkit.get_initialization_eqs`](@ref).
1203
1225
"""
1204
1226
function initialization_equations (sys:: AbstractSystem )
1205
1227
eqs = get_initialization_eqs (sys)
0 commit comments