File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1330,9 +1330,13 @@ end
1330
1330
"""
1331
1331
$(TYPEDSIGNATURES)
1332
1332
1333
- Get the parameters of the system `sys` and its subsystems.
1333
+ Get the standard parameters of the system `sys` and its subsystems.
1334
1334
1335
- See also [`@parameters`](@ref) and [`ModelingToolkit.get_ps`](@ref).
1335
+ # Keyword arguments
1336
+
1337
+ - `initial_parameters`: Whether to include parameters for initial values of variables in the initialization system.
1338
+
1339
+ See also [`full_parameters`](@ref) and [`ModelingToolkit.get_ps`](@ref).
1336
1340
"""
1337
1341
function parameters (sys:: AbstractSystem ; initial_parameters = false )
1338
1342
ps = get_ps (sys)
@@ -1387,6 +1391,13 @@ function parameter_dependencies(sys::AbstractSystem)
1387
1391
return vcat (namespaced_deps, pdeps)
1388
1392
end
1389
1393
1394
+ """
1395
+ $(TYPEDSIGNATURES)
1396
+
1397
+ Get all parameters of the system `sys` and its subsystems, including initial values and dependent parameters.
1398
+
1399
+ See also [`parameters`](@ref) and [`ModelingToolkit.get_ps`](@ref).
1400
+ """
1390
1401
function full_parameters (sys:: AbstractSystem )
1391
1402
vcat (parameters (sys; initial_parameters = true ), dependent_parameters (sys))
1392
1403
end
You can’t perform that action at this time.
0 commit comments