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

Revision history [back]

Fatal Error: Number of ObjectDef Alpha Args > Size of AlphaArg Array

Hi Energy Modeling Community,

I'm setting up a very simple co-simulation between EnergyPlus and a Functional Mockup Unit (FMU). The FMU is configured to return a fraction that would be fed into an OtherEquipment object as the Schedule Name input. For now I just wanted to report the result of the simulation to check if the communication is working. I used the EnergyPlus example 1ZoneUncontrolled to which I added the lines below.

ExternalInterface,
    FunctionalMockupUnitImport;  !- Name of External Interface

ExternalInterface:FunctionalMockupUnitImport,
    OtherEquipmentFraction.fmu,  !- FMU File Name
    15,                      !- FMU Timeout {ms}
    0;                       !- FMU LoggingOn

ExternalInterface:FunctionalMockupUnitImport:From:Variable,
    ZONE ONE,                !- Output:Variable Index Key Name
    Zone Outdoor Air Drybulb Temperature,  !- Output:Variable Name
    OtherEquipmentFraction.fmu,  !- FMU File Name
    OtherEquipmentFraction,  !- FMU Instance Name
    EnvironmentAirTemp;      !- FMU Variable Name

ExternalInterface:FunctionalMockupUnitImport:From:Variable,
    ZONE ONE,                !- Output:Variable Index Key Name
    Zone Mean Air Temperature,  !- Output:Variable Name
    OtherEquipmentFraction.fmu,  !- FMU File Name
    OtherEquipmentFraction,                !- FMU Instance Name
    ZoneAirTemp;             !- FMU Variable Name

ExternalInterface:FunctionalMockupUnitImport:To:Schedule,
    TEST352aNewPowerLevel,   !- Name
    Fraction,              !- Schedule Type Limits Names
    OtherEquipmentFraction.fmu,  !- FMU File Name
    OtherEquipmentFraction,                !- FMU Instance Name
    OEFraction,              !- FMU Variable Name
    1;                       !- Initial Value

Output:Variable,*,Schedule Value,hourly;

I have previously had this model working on EnergyPlus 8.1.0x86 but wanted to try using EnergyPlus 8.5.0x86. When I setup and run the simulation I receive the error:

**  Fatal  ** IP: GetObjectItem: ExternalInterface:FunctionalMockupUnitImport:To:Schedule, Number of ObjectDef Alpha Args [5] > Size of AlphaArg array [3].

I looked into ObjectDef Alpha Args and AlphaArg array and found a discussion of EnergyPlus's IDD file and the developer guide. Do I need to edit the IDD file in some way to support the FMU functionality I am attempting to use above? Should I use an older version of EnergyPlus?