Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in mlepSimulink_example.slx #7

Open
ajaved200 opened this issue Feb 10, 2022 · 5 comments
Open

Error in mlepSimulink_example.slx #7

ajaved200 opened this issue Feb 10, 2022 · 5 comments

Comments

@ajaved200
Copy link

Hi I am using Matlab R2021a and EnergyPlus 9.2.
mlepMatlab_example.m is running fine but I am facing following error in mlepSimulink_example.slx

"Sample time of 'EP_schedule__HeatingSetpointTemperature' in bus object 'epInbus' (specified as the data type for block 'mlepSimulink_example/EnergyPlus Simulation/In') must be inherited (-1). To specify a non-inherited sample time ('600') for a bus element, use the SampleTime parameter of the block that produces the signal corresponding to this element"
I tried to change the sample time of constant "EP_schedule__TSetHea" but still getting this error. Can anyone please guide me to solve this error.

@tuoxxx
Copy link

tuoxxx commented Mar 5, 2022

I met the same error, have you found some methods to solve it?

@tuoxxx
Copy link

tuoxxx commented Mar 5, 2022

Hi I am using Matlab R2021a and EnergyPlus 9.2. mlepMatlab_example.m is running fine but I am facing following error in mlepSimulink_example.slx

"Sample time of 'EP_schedule__HeatingSetpointTemperature' in bus object 'epInbus' (specified as the data type for block 'mlepSimulink_example/EnergyPlus Simulation/In') must be inherited (-1). To specify a non-inherited sample time ('600') for a bus element, use the SampleTime parameter of the block that produces the signal corresponding to this element" I tried to change the sample time of constant "EP_schedule__TSetHea" but still getting this error. Can anyone please guide me to solve this error.

I met the same error, have you found some methods to solve it?

@ajaved200
Copy link
Author

Hi I am using Matlab R2021a and EnergyPlus 9.2. mlepMatlab_example.m is running fine but I am facing following error in mlepSimulink_example.slx
"Sample time of 'EP_schedule__HeatingSetpointTemperature' in bus object 'epInbus' (specified as the data type for block 'mlepSimulink_example/EnergyPlus Simulation/In') must be inherited (-1). To specify a non-inherited sample time ('600') for a bus element, use the SampleTime parameter of the block that produces the signal corresponding to this element" I tried to change the sample time of constant "EP_schedule__TSetHea" but still getting this error. Can anyone please guide me to solve this error.

I met the same error, have you found some methods to solve it?

Unfortunately still struggling.

@sangengyusui
Copy link

sangengyusui commented Sep 19, 2022

Sample time of 'EP_schedule__HeatingSetpointTemperature' in bus object 'epInbus' (specified as the data type for block 'mlepSimulink_example/EnergyPlus Simulation/In') must be inherited (-1). To specify a non-inherited sample time ('600') for a bus element, use the SampleTime parameter of the block that produces the signal corresponding to this element.

same problem

R2020a can run it ,but when update...

@sangengyusui
Copy link

I have solved the problem roughly, but there are some warnings. You can change the sample time to -1 in mlepSO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants