JuliaControl / JuliaControl/ControlSystems.jl

Allow easy creation of complex-coefficient systems using e.g., ss?

Open
#140 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Julia
Stars
582
Forks
92
Avg merge
1h 12m
Merged PRs (30d)
2

Description

Should it for example be allowed to create StateSpace objects using the convenience constructor ss?

Very few users want to use complex-valued linear systems, and will most likely only create them by mistake, leading to confusion.

Some options:

  • Only allow it for the actual constructor StateSpace{Matrix{Complex128}, Complex128}
  • Allow it
  • Allow it, but issue a warning (Matlab does this for example)
  • Some other mechanism

I guess one should also consider (the future possibility) of creating symbolic systems. Any thoughts?

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

Start by reviewing the ss convenience constructor and the StateSpace constructor to understand their current handling of complex coefficients. Compare the listed options, including possible symbolic systems, and define the intended behavior and user-facing warning or error; the issue is done when one policy is agreed and reflected in the relevant API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.