LEMS / LEMS/jLEMS

Dimension wildcard for <Line>

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.