Skip to content

Parts of example.md are not working #45

@jellepoland

Description

@jellepoland

When excecuting:

Plotting the initial state

First, an instance of the model of the kite control unit (KCU) is created which is needed by the Kite Power System model KPS3. Then we create a kps instance, passing the kcu model as parameter. We need to declare the type of these variables to achieve a decent performance.

using SymbolicAWEModels
kcu::KCU = KCU(se())
kps::KPS3 = KPS3(kcu)

I get:

julia> kcu::KCU = KCU(se())
ERROR: UndefVarError: `KCU` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
 [1] top-level scope
   @ REPL[25]:1

julia> kps::KPS3 = KPS3(kcu)
ERROR: UndefVarError: `KPS3` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
 [1] top-level scope
   @ REPL[26]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions