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

Abnormal value on Te Measured #29

Open
SrFideo opened this issue Nov 3, 2021 · 2 comments
Open

Abnormal value on Te Measured #29

SrFideo opened this issue Nov 3, 2021 · 2 comments

Comments

@SrFideo
Copy link

SrFideo commented Nov 3, 2021

im using the dargreybox package to simulate the power input of an A.C. In order to simulate the power heat i use a PRBS code, as shown ahead.
image

But when df model its executes, the Envelope Temperature (Te) have inusual values in the first step of the execution.
image

Any clues of why this is happening?

@czagoni
Copy link
Owner

czagoni commented Dec 16, 2021

Hey - thanks for reaching out and sorry for the late response!

Firstly, the model is not perfect and it may found solutions that are not necessarily valid in real life. If you have multiple solutions you could try and look at the other ones and see if this problem persists.

Secondly, if you know the expected range for the Envelope Temperature (e.g. in a normal building you may expect it to be between the Ambient Temeperature min() and max() values) you can constrain your problem to only solve for Te0 within that range by adding min and max to the parameter in your train_params:

'Te0': {'value': X_train.iloc[0]['Te0'], 'vary': True, 'min': 10, 'max': 25}

@czagoni
Copy link
Owner

czagoni commented Jan 28, 2022

Leaving this open for future references.

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

2 participants