Skip to content

Change how averages are represented #61

@david-pl

Description

@david-pl

Currently, averages are symbolic functions with a QNumber argument, i.e. avg(::QNumber)::CNumber. Once the metadata system of SymbolicUtils is fixed, we can change that so that averages are directly represented in the format required by ModelingToolkit. We can write them as time-dependent variables x(t) and store the QNumber argument as metadata. This saves us the step of converting to ODESystems with the varmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions