You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit addresses issue #847 by adding a symbolic time span (tspan) field
to the System struct for time-dependent systems. The tspan field allows users
to specify the time interval for simulations directly in the system definition,
which can be either numeric values or symbolic expressions involving parameters.
Changes:
- Added tspan field to System struct with type Union{Nothing, Tuple{Any, Any}}
- Updated System constructors to accept tspan parameter with default value nothing
- Added documentation for the new tspan field
- Added comprehensive tests for tspan functionality including numeric, symbolic, and nil cases
- Tests verify that tspan is preserved through system completion
The tspan field is automatically accessible via get_tspan() and has_tspan()
getter methods through the existing SYS_PROPS metaprogramming framework.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments