Skip to content

Commit 42b78ca

Browse files
author
tsnouidui
committed
Update all files for better export of EnergyPlus as FMU.
1 parent e37c8e2 commit 42b78ca

11 files changed

+2507
-904
lines changed

SourceCode/EnergyPlus/defines.h

+7-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
* Filename for input file and weather file
3636
*/
3737
/////////////////////////////////////////////////////////////////////
38+
#define FRUNINFILE "runinfile.idf"
3839
#define FRUNWEAFILE "runweafile.epw"
3940
#define FTIMESTEP "tstep.txt"
4041
#define VARCFG "variables.cfg"
@@ -54,11 +55,15 @@
5455
#include "fmiFunctions.h"
5556
#include "xml_parser_cosim.h"
5657

57-
typedef struct idfFmu_t {
58+
typedef struct ModelInstance {
5859
int index;
5960
fmiCallbackFunctions functions;
6061
char instanceName[MAX_VARNAME_LEN];
6162
char cwd[256];
63+
char in_file_name[100];
64+
char* wea_file;
65+
char* in_file;
66+
char* idd_file;
6267
char* fmuResourceLocation;
6368
char* fmuUnzipLocation;
6469
char *xml_file;
@@ -110,7 +115,7 @@ typedef struct idfFmu_t {
110115
#else
111116
pid_t pid;
112117
#endif
113-
} idfFmu_t;
118+
} ModelInstance;
114119

115120
#endif /*__DEFINES_H__*/
116121

0 commit comments

Comments
 (0)