Dimension wildcard for <Line>
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11
- Forks
- 11
- Avg merge
- 8h 6m
- Merged PRs (30d)
- 1
Description
In
<ComponentType name="Line">
<Parameter name="scale" dimension="*"/>
<Parameter name="timeScale" dimension="*"/>
<Path name="quantity"/>
<Text name="color"/>
<Simulation>
<Record quantity="quantity" timeScale="timeScale" scale="scale" color="color"/>
</Simulation>
</ComponentType>
we should say that scale takes the dimension of <Path name='quantity'>, whereas timescale should point to the "magic" universal time (magic in the sense that it has "special" behaviour in e.g. TimeDerivatives).
Ideally, we should be able to use any other variable in the "x-axis", so the same reasoning as above applies. And I guess that the scaling factors should be made adimensional, and all dimensinality delegated to the timeseries being plotted.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or code entry points are named. Start by locating the handling of ComponentType, Parameter dimensions, Path quantities, and the special universal time behavior in the interpreter. Before implementation, clarify wildcard semantics, arbitrary x-axis variables, and scaling dimensionality; done should include agreed behavior and corresponding tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100