darkgreybox icon indicating copy to clipboard operation
darkgreybox copied to clipboard

Abnormal value on Te Measured

Open SrFideo opened this issue 4 years ago • 2 comments

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?

SrFideo avatar Nov 03 '21 16:11 SrFideo

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 avatar Dec 16 '21 11:12 czagoni

Leaving this open for future references.

czagoni avatar Jan 28 '22 13:01 czagoni