2

Schedules in BCVTB

Hi,

I am trying to have another external schedule for "ePlus85-schedule" example in BCVTB examples library. However, the file that I am reading my data from is creating some problems. I have the files uploaded here. I would appreciate that if someone can help me with this issue.

Thanks,

mfath's avatar
659
mfath
asked 2018-12-04 12:36:21 -0500, updated 2018-12-08 20:28:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

@Thierry Nouidui Could you please help me with this.?

mfath's avatar mfath (2018-12-05 11:58:02 -0500) edit

I don't seem to have access to that google drive...Could you please change the permissions so I have access to it?

Thierry Nouidui's avatar Thierry Nouidui (2018-12-05 12:20:20 -0500) edit

@Thierry Nouidui Could you please check this link? https://drive.google.com/drive/folder... I have the link available for edit for others also. Could you please let me know if you have access to that?

mfath's avatar mfath (2018-12-05 14:56:38 -0500) edit

Before unmet hours, I uploaded this files in the googlegroup. They might be available through google drive also. Thanks

mfath's avatar mfath (2018-12-05 15:21:19 -0500) edit
add a comment see more comments

1 Answer

1

I looked at your model and you seem to have added an extra port to the Simulator Actor. You shouldn't do that.

The Simulator Actor is expecting one vectorized double input and one vectorized double output. You should use the VectorAssembler in your model to concatenate the outputs of your TSetPoi block to one vectorized output. Please make sure that the types are the same. I see for instance that one of your outputs is of type String. You will need to convert it to a double prior to concatenation. You will then be able to feed the vectorized output to the input of the Simulator Actor.

Note: I haven't run your model to see whether it works but think this to be one mistake which will certainly prevent the model to run properly. I suggest to read the BCVTB manual to correctly set-up the Simulator Actor.

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2018-12-06 00:00:01 -0500
edit flag offensive 0 remove flag delete link

Comments

1

Use the LineReader instead of the FileReader actor and then use the StringToDouble actor to convert the output string into a double.In BCVTB version 1.6, the StringToDouble actor is in the Actors -> Conversions library

Thierry Nouidui's avatar Thierry Nouidui (2018-12-07 11:40:13 -0500) edit

@Thierry Nouidui Thanks a lot for your help.

Thanks again

mfath's avatar mfath (2018-12-08 20:26:52 -0500) edit

@Thierry Nouidui I was able to get it to work. Thanks. But, for the run period, is there any reason that it always starts 06/16 while I have changed the run period in energyplus source file? Also, I have changed the endTime in BCVTB.

mfath's avatar mfath (2018-12-12 10:36:21 -0500) edit

The reason might be because of this issue https://github.com/NREL/EnergyPlus/is.... Normally, If you change the run period in the IDF file and in the BCVTB, then it should be OK. However E+ has a bug which prevents it to delete past simulation files (e.g. expidf) when doing a new run. You will need to delete past generated E+ simulation files prior to doing new runs. Simply delete all the files generated by E+ between runs to make sure that changes in the IDF are indeed taken into account by E+.

Thierry Nouidui's avatar Thierry Nouidui (2018-12-18 07:55:35 -0500) edit
add a comment see more comments