Skip to content

Error with TimeStepTable of one #144

@VEZY

Description

@VEZY

The error is ERROR: type Array has no field T. I think it is because we treat it as a one-timestep thing in run!(see "run.jl" line 176) because of this line:

nsteps = get_nsteps(meteo_adjusted)

Here is a reproducible example:

meteo = Weather([Atmosphere(T=20.0, Wind=1.0, P=101.3, Rh=0.65)])
ml =
    ModelList(
        Monteith(), Medlyn(0.3, 7.0),
        Fvcb(VcMaxRef=155.0, JMaxRef=266.0, RdRef=1.6, TPURef=7.0),
        status=(
            Rₛ=320.0, sky_fraction=0.20,
            aPPFD=700.0, d=0.10
        )
    )
run!(ml, meteo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions