Skip to content

Commit 479d9ef

Browse files
remove ControlSystem
It was only half completed, and now it's been folded into ODESystem itself so it has no place anymore. Bye bye. The only thing we should try to keep is the `runge_kutta_discretize`, which instead should be ODESystem -> OptimizationSystem transformation
1 parent 44405a7 commit 479d9ef

File tree

5 files changed

+0
-352
lines changed

5 files changed

+0
-352
lines changed

docs/pages.jl

-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pages = [
88
"tutorials/nonlinear.md",
99
"tutorials/optimization.md",
1010
"tutorials/stochastic_diffeq.md",
11-
"tutorials/nonlinear_optimal_control.md",
1211
"tutorials/parameter_identifiability.md"],
1312
"ModelingToolkitize Tutorials" => Any["mtkitize_tutorials/modelingtoolkitize.md",
1413
"mtkitize_tutorials/modelingtoolkitize_index_reduction.md",
@@ -25,7 +24,6 @@ pages = [
2524
"systems/JumpSystem.md",
2625
"systems/NonlinearSystem.md",
2726
"systems/OptimizationSystem.md",
28-
"systems/ControlSystem.md",
2927
"systems/PDESystem.md"],
3028
"comparison.md",
3129
"internals.md",

docs/src/systems/ControlSystem.md

-23
This file was deleted.

docs/src/tutorials/nonlinear_optimal_control.md

-95
This file was deleted.

src/ModelingToolkit.jl

-4
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ include("systems/nonlinear/modelingtoolkitize.jl")
136136

137137
include("systems/optimization/optimizationsystem.jl")
138138

139-
include("systems/control/controlsystem.jl")
140-
141139
include("systems/pde/pdesystem.jl")
142140

143141
include("systems/sparsematrixclil.jl")
@@ -172,13 +170,11 @@ export AutoModelingToolkit
172170
export SteadyStateProblem, SteadyStateProblemExpr
173171
export JumpProblem, DiscreteProblem
174172
export NonlinearSystem, OptimizationSystem
175-
export ControlSystem
176173
export alias_elimination, flatten
177174
export connect, @connector, Connection, Flow, Stream, instream
178175
export isinput, isoutput, getbounds, hasbounds, isdisturbance, istunable, getdist, hasdist,
179176
tunable_parameters, isirreducible
180177
export ode_order_lowering, dae_order_lowering, liouville_transform
181-
export runge_kutta_discretize
182178
export PDESystem
183179
export Differential, expand_derivatives, @derivatives
184180
export Equation, ConstrainedEquation

src/systems/control/controlsystem.jl

-228
This file was deleted.

0 commit comments

Comments
 (0)