Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The delta between the FMU stop time 1 and the FMU start time 0 must be a multiple of 86400

Hiho,

When trying to simulate a example fmu file with pyfmi:

try:
    model.initialize(start_time, stop_time)
    result = model.simulate(start_time=start_time, final_time=time_stop, time_step=time_step)

except Exception:
    print(model.get_log())

i get the error (and it makes no difference if i change the start or stop or step time, these parameter seem to have no effect here):

['FMIL: module = Model, log level = 2: [error][FMU status:Error] fmi2EnterInitializationMode: The delta between the FMU stop time 1.000000 and the FMU start time 0.000000 must be a multiple of 86400. This is required by EnergyPlus. The current delta is 1.000000. Instantiation of Model failed.', '']

has anyone a solution to this error?

The delta between the FMU stop time 1 and the FMU start time 0 must be a multiple of 86400

Hiho,

I used the FMU Example file from here: https://github.com/lbl-srg/EnergyPlusToFMU/blob/master/Examples/Variable/_fmu-export-variable.idf

When trying to simulate a example fmu file with pyfmi:

try:
    model.initialize(start_time, stop_time)
    result = model.simulate(start_time=start_time, final_time=time_stop, time_step=time_step)

except Exception:
    print(model.get_log())

i get the error (and it makes no difference if i change the start or stop or step time, these parameter seem to have no effect here):

['FMIL: module = Model, log level = 2: [error][FMU status:Error] fmi2EnterInitializationMode: The delta between the FMU stop time 1.000000 and the FMU start time 0.000000 must be a multiple of 86400. This is required by EnergyPlus. The current delta is 1.000000. Instantiation of Model failed.', '']

has anyone a solution to this error?

The delta between the FMU stop time 1 and the FMU start time 0 must be a multiple of 86400

Hiho,

I used the FMU Example file from here: https://github.com/lbl-srg/EnergyPlusToFMU/blob/master/Examples/Variable/_fmu-export-variable.idf

When trying to simulate a example fmu file with pyfmi:

try:
    model.initialize(start_time, stop_time)
    result = model.simulate(start_time=start_time, final_time=time_stop, time_step=time_step)

except Exception:
    print(model.get_log())

i get the error (and it makes no difference if i change the start or stop or step time, these parameter seem to have no effect here):

['FMIL: module = Model, log level = 2: [error][FMU status:Error] fmi2EnterInitializationMode: The delta between the FMU stop time 1.000000 and the FMU start time 0.000000 must be a multiple of 86400. This is required by EnergyPlus. The current delta is 1.000000. Instantiation of Model failed.', '']

has anyone a solution to this error?