SciML / SciML/ModelingToolkitStandardLibrary.jl

how to pass exogenous input signals to components?

Open
#123 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
171
Forks
49
Avg merge
15h 50m
Merged PRs (30d)
10

Description

For most systems, there will be exogenous input signals as control inputs/disturbances, such as the outdoor air temperature.

Say I have a zone temperature file saved as a csv, and the temperature is sampled every hour. But I have a system, which runs at a time step of 5 min. How can I connect this exogenous temperature to Thermal.PrescribedTemperature, and solve the resulting ODE on a 5-minute basis?

In Modelica, there is a block called TimeTable, which performs auto interpolation between time indexes. Is there any similar block in ModelingToolkitStandardLibrary for this purpose?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the library's source or input-signal components and compare their behavior with Modelica's TimeTable, including interpolation from hourly CSV data to a five-minute simulation step. Done means a documented or implemented way to connect the exogenous temperature to Thermal.PrescribedTemperature and solve the resulting ODE.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.