Skip to content

Commit 7e41540

Browse files
committed
clean up comments and tests
1 parent 55c3933 commit 7e41540

File tree

4 files changed

+0
-49
lines changed

4 files changed

+0
-49
lines changed

src/systems/optimal_control_interface.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -185,17 +185,3 @@ function process_tspan(tspan, dt, steps)
185185
return length(tspan[1]:dt:tspan[2]), false
186186
end
187187
end
188-
189-
#"""
190-
#$(SIGNATURES)
191-
#
192-
#Define one or more inputs.
193-
#
194-
#See also [`@independent_variables`](@ref), [`@variables`](@ref) and [`@constants`](@ref).
195-
#"""
196-
#macro inputs(xs...)
197-
# Symbolics._parse_vars(:inputs,
198-
# Real,
199-
# xs,
200-
# toparam) |> esc
201-
#end

src/systems/systems.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ function __structural_simplify(
163163
end
164164
end
165165

166-
function toterm_auxsystems(system::ODESystem)
167-
constraints = system.constraintsystem.constraints
168-
169-
end
170-
171166
"""
172167
$(TYPEDSIGNATURES)
173168

test/dynamic_optimization/jump_control.jl

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -257,31 +257,3 @@ end
257257
isol = solve(iprob, Ipopt.Optimizer)
258258
@test isol.sol.u[end] [π, 0, 0, 0]
259259
end
260-
261-
# RC Circuit
262-
# using ModelingToolkitStandardLibrary.Electrical
263-
# @testset "MTK Components" begin
264-
# @mtkmodel RL begin
265-
# @parameters begin
266-
# R = 1.0
267-
# L = 1.0
268-
# end
269-
# @components begin
270-
# resistor = Resistor(R = R)
271-
# inductor = Inductor(L = L)
272-
# source = Voltage()
273-
# ground = Ground()
274-
# end
275-
# @equations begin
276-
# connect(source.p, resistor.p)
277-
# connect(resistor.n, inductor.p)
278-
# connect(inductor.n, source.n, ground.g)
279-
# end
280-
# end
281-
#
282-
# costs = []
283-
# coalesce = sum
284-
# @named sys = RL()
285-
# sys, _ = structural_simplify(sys, inputs = [sys.source.V.u])
286-
# @parameters tf λ i₀
287-
# end

test/extensions/Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
BifurcationKit = "0f109fa4-8a5d-4b75-95aa-f515264e7665"
33
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
44
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
5-
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
65
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
76
HomotopyContinuation = "f213a82b-91d6-5c5d-acf7-10f1c761b327"
87
InfiniteOpt = "20393b10-9daf-11e9-18c9-8db751c92c57"
@@ -13,7 +12,6 @@ NonlinearSolveHomotopyContinuation = "2ac3b008-d579-4536-8c91-a1a5998c2f8b"
1312
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
1413
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
1514
SciMLStructures = "53ae85a6-f571-4167-b2af-e1d143709226"
16-
SimpleDiffEq = "05bca326-078c-5bf0-a5bf-ce7c7982d7fd"
1715
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1816
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
1917
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

0 commit comments

Comments
 (0)