-
-
Notifications
You must be signed in to change notification settings - Fork 227
[v10] refactor: use ImplicitDiscreteSystem
to implement affects in callback systems
#3452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
123 commits
Select commit
Hold shift + click to select a range
c4fa355
chore!: bump MAJOR version
AayushSabharwal d2e0821
ci: run workflows on PR to v10 branch
AayushSabharwal eb2e1fb
docs: bump MTK compat
AayushSabharwal 6eba594
TEMP COMMIT: use branch of MTKStdlib
AayushSabharwal b976833
feat: make `@named` always wrap arguments in `ParentScope`
AayushSabharwal 50451d2
test: test `@named` always wrapping in `ParentScope`
AayushSabharwal e0844d7
refactor: remove `DelayParentScope`
AayushSabharwal 086bab6
refactor: remove `time_varying_as_func`
AayushSabharwal 607c0a5
test: update tests with removed `time_varying_as_func`
AayushSabharwal cfc6cd7
refactor: remove input_idxs output
vyudu d3e8841
refactor: require simplify system for linearization
vyudu ea858ca
use mtkbuild
vyudu 8cbbb16
fix: fix linearization tests
vyudu 1f4243d
fix: simplify if not simplified
vyudu c424570
revert rename
vyudu 6e3216e
revert more renames
vyudu 22cdc69
correct tests
vyudu 1956ca0
fix: require simplification again
vyudu 5feffd8
reset test file
vyudu e6eab84
revert src/linearization
vyudu 4e25363
reset doc file
vyudu f4723b8
revert rename
vyudu 81fc5b5
test: test updates
vyudu a86e553
fix input output tests
vyudu e31b6a7
more test fixes
vyudu f1b7ceb
fix: fix sort_eqs and check distrubances in markio
vyudu 47b7dd8
format
vyudu 0cf319c
init
vyudu 37f050e
refactor: refactor affect codegen
vyudu 9795eeb
feat: correct affect system generation
vyudu 811a42a
use Pre in the affect definition
vyudu 60d5369
refactor: correct condition generation in
vyudu 0e9215f
some tests working
vyudu 66afd66
fix: modify constructor for SDESystem and JUmpSystem
vyudu 627fbe0
test: make more tests pass
vyudu f3fe987
test: fix namespacing
vyudu e6abcd4
fix: fix JumpSystem and don't use is_diff_equation
vyudu 1e15e74
typo: add )
vyudu c462dfc
typo: algeeqs
vyudu cdf3a6d
fix
vyudu 72421e7
more test fixes
vyudu a57df9d
refactor: make iv, algeeqs kwargs
vyudu e10e5e4
fix NoInit() error
vyudu 095b6b6
fix: fix initialization and finalization affects
vyudu 4247831
uncomment tests
vyudu ed98038
fix: most tests passing
vyudu f1b6535
feat: add optimization for explicit affects
vyudu b7a4502
fix: fix FMI tests and parameter dependency tests
vyudu 0d08ea1
more test fixes
vyudu 4f9dfea
fix: more tests passing
vyudu ee65a30
fix: more test fixes
vyudu 0e8b48d
fix: use is_diff_equation instead of isdiffeq when finding algeeqs
vyudu b595375
feat: specify discrete_parameters
vyudu b9669c1
up
vyudu 8625744
feat: add discrete_parameters
vyudu 990eb7b
fix: use is_diff_equation with flatten_equations
vyudu 479e147
remove show
vyudu 60a6a53
format
vyudu 94d172c
fix: fix typos and to_term differentials in affect equations
vyudu 9e11381
fix: add events to SDESystem after structural simplification
vyudu 831a8d7
fix: add reinitalizealg back
vyudu deb4e31
fix: use discrete_parameters in tests
vyudu 9b356db
fix: fix collect_var
vyudu 661e1f6
format
vyudu 4d1e8b7
docs: add documentation for the symbolic affect changes
vyudu 00ccca4
revert index cache
vyudu 7b4058b
fix: use discrete_parameters in SII test
vyudu 8d0454c
fix: fix model parsing for events
vyudu 3c036b0
docs: document the discrete_parameters
vyudu 7295caa
format
vyudu 9e12c83
fix: remove the plural constructors
vyudu 84903a5
fix: fix model parsing error
vyudu 0c09dd0
fix: add continuous_events back
vyudu 50e9368
fix: allow Arr in tovar
vyudu 45ec229
fix: allow Arr in tovar
vyudu 57dd747
fix JumpSystem
vyudu c6e7fdb
fix: unwrap s in tovar
vyudu 692c089
up
vyudu f5f5a88
fix: fix several tests
vyudu d95aa83
docs: fix doc discrete_events example
vyudu 0b344eb
docs: fix doc example
vyudu 4e8c752
docs: fix more doc examples
vyudu 710fb4a
allow symbolic in Discrete condition
vyudu 19e4368
require Bool
vyudu b34c766
more docs fixes
vyudu f682cac
update NewsMD
vyudu 79278a2
fix: fix sfmi bugs and
vyudu 04b86db
fix remaining tests
vyudu 589e20e
format
vyudu 29cdece
fix: improve performance of implicit_affect
vyudu b726810
fix: fix implicit_affect
vyudu f556dc5
format
vyudu 44cf0fd
fix: improve performance of implicit affect
vyudu 9c7c597
fix: drop alg_eqs for JumpSystem
vyudu d2ec633
fix: fix jumpsystem test
vyudu 15dc5e2
format
vyudu 115b8db
fix: fix SII issue in the implicit affect
vyudu 26537d1
cleanup
vyudu 5409f2b
fix: typo and setsym error
vyudu 9ed02ce
rebase callback
vyudu 985b8ae
chore!: bump MAJOR version
AayushSabharwal 5af08a4
ci: run workflows on PR to v10 branch
AayushSabharwal 0fbd4ee
docs: bump MTK compat
AayushSabharwal 2f4112e
TEMP COMMIT: use branch of MTKStdlib
AayushSabharwal 138c568
feat: make `@named` always wrap arguments in `ParentScope`
AayushSabharwal f603e8c
test: test `@named` always wrapping in `ParentScope`
AayushSabharwal c13fe32
refactor: remove `DelayParentScope`
AayushSabharwal b6b35af
refactor: remove `time_varying_as_func`
AayushSabharwal faa5bbf
test: update tests with removed `time_varying_as_func`
AayushSabharwal 26292ff
refactor: remove input_idxs output
vyudu 21b231a
refactor: use new `structural_simplify` in linearization
vyudu 1d2a604
fix: fix linearization tests
vyudu c124625
test: test updates
vyudu 70e25e8
fix input output tests
vyudu 48ae093
more test fixes
vyudu 0234315
fix: fix sort_eqs and check distrubances in markio
vyudu 90aba86
test: fix input output test
AayushSabharwal 0d7943d
test: fix usage of old `structural_simplify` io syntax
AayushSabharwal bdbf29a
Update src/parameters.jl
vyudu d6c2666
Update src/systems/callbacks.jl
vyudu bc8c760
Merge branch 'v10' into callback
vyudu ca507df
fix compile condition error
vyudu 426e6bb
disable cse
vyudu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- v10 | ||
tags: '*' | ||
pull_request: | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- 'master' | ||
- v10 | ||
tags: '*' | ||
pull_request: | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: | ||
- master | ||
- 'release-' | ||
- v10 | ||
paths-ignore: | ||
- 'docs/**' | ||
push: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[deps] | ||
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" | ||
ModelingToolkitStandardLibrary = "16a59e39-deab-5bd0-87e4-056b12336739" | ||
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec" | ||
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" | ||
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" | ||
SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b" | ||
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.