Skip to content

Variable type any_object requires value to be set within a process class #2

@ptomasula

Description

@ptomasula

Limit Description

As noted in the simlab documentation for any_object "‘object’ variables are not intended to be used as model inputs or outputs. Additionally, a value must be set in the class within which this variable is declared (i.e., intent=’out’)."

Impact

This limitation would mean that we cannot define an instance of the Riverine model class outside of a process. This means that we need to create the instance of the Riverine model which the process wrapping the Riverine Model, and would not have the instance available for things such use in setting up other model inputs. This is also a limit on support for dependency injection.

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