Lemonergy · Studio block
Nonsingular descriptor state model
Simulates a descriptor state equation when its E matrix is nonsingular.
- Implementation ID
native-descriptor-state-space- Reviewed
- 2026-10-27
Behavior
E dx/dt = A x + B u; y = C x + D u; E must be nonsingular. The worked example connects this operation to signals in Lemonergy Studio.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
in0 | input | 1 | Input; real scalar. |
out0 | output | 1 | Output; real scalar. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
State countparams[0] | 1 | 1 | Configured finite numerical parameter. |
E matrixtables[0] | 1 | [2] | Nonsingular descriptor matrix E·dx/dt = A·x + B·u. Singular DAE matrices are explicitly refused. |
A matrixtables[1] | 1 | [-2] | Configured coefficients or initial values in column-major order. |
B matrixtables[2] | 1 | [2] | Configured coefficients or initial values in column-major order. |
C matrixtables[3] | 1 | [1] | Configured coefficients or initial values in column-major order. |
D matrixtables[4] | 1 | [0] | Configured coefficients or initial values in column-major order. |
Initial statetables[5] | 1 | [0] | Configured coefficients or initial values in column-major order. |
Equations and rules
E dx/dt = A x + B u; y = C x + D u; E must be nonsingular
Worked example
Nonsingular descriptor state model — worked example
Input = 1. Output at 1 s = 0.6321205588285577.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Outputout0 | 1 | 0.6321205588285577 | 1 | 2e-06 |
Explore the recorded outputs
Nonsingular descriptor state model recorded example
Nonsingular descriptor state model13 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
Download the recorded samples (JSON) · Open this Studio example after release
Use in a workflow
Nonsingular descriptor state model — worked example
Simulates a descriptor state equation when its E matrix is nonsingular.
- Nonsingular descriptor state model: E dx/dt = A x + B u; y = C x + D u; E must be nonsingular. The worked example connects this operation to signals in Lemonergy Studio.
- Use the block reference for settings and connections.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Nonsingular E is solved with pivoted elimination at configuration time. Singular descriptor DAEs and algebraic state constraints are explicitly refused.
- Shapes and element types are explicit. Values must be finite; automatic reshaping and unit conversion are not performed.
Scientific and mathematical references
These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.
- Feedback Systems: An Introduction for Scientists and Engineers, second edition
Karl J. Åström, Richard M. Murray · Princeton University Press; author-maintained FBSwiki · 2021
Technical reference · State-space modeling, feedback and PID control. These mathematical foundations do not establish a particular software implementation.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)