07-15-2017, 05:31 PM
(This post was last modified: 07-15-2017, 05:50 PM by JonathanKocher.)
Hello,
I am trying to find the optimal first cost for a net zero energy building. I programmed the constraints and objective as shown below. When I run jEplus+EA, it keeps switching the best solution so that sometimes it is above the constraint limits for energy to be above zero, thus not a net zero energy building. I have a feeling this has to do with the weighting, but I am not sure. See attached picture for an example of the scatter plot. Any ideas on why the optimal solution isn't falling withing the constraints?
"constraints" : [
{
"identifier" : "s1",
"formula" : "v3",
"caption" : "Comfort Hours",
"scaling" : true,
"lb" : "0",
"ub" : "300",
"min" : "-10",
"max" : "500",
"weight" : "1.0"
},
{
"identifier" : "s2",
"formula" : "c0",
"caption" : "Electricity [kBTU]",
"scaling" : true,
"lb" : "-15000",
"ub" : "0",
"min" : "-30000",
"max" : "0",
"weight" : "5.0"
}
],
"objectives" : [
{
"identifier" : "t1",
"formula" : "v0",
"caption" : "Total Construction Cost [$/ft2]",
"scaling" : true,
"min" : "100",
"max" : "500",
"weight" : "1.0"
}
I am trying to find the optimal first cost for a net zero energy building. I programmed the constraints and objective as shown below. When I run jEplus+EA, it keeps switching the best solution so that sometimes it is above the constraint limits for energy to be above zero, thus not a net zero energy building. I have a feeling this has to do with the weighting, but I am not sure. See attached picture for an example of the scatter plot. Any ideas on why the optimal solution isn't falling withing the constraints?
"constraints" : [
{
"identifier" : "s1",
"formula" : "v3",
"caption" : "Comfort Hours",
"scaling" : true,
"lb" : "0",
"ub" : "300",
"min" : "-10",
"max" : "500",
"weight" : "1.0"
},
{
"identifier" : "s2",
"formula" : "c0",
"caption" : "Electricity [kBTU]",
"scaling" : true,
"lb" : "-15000",
"ub" : "0",
"min" : "-30000",
"max" : "0",
"weight" : "5.0"
}
],
"objectives" : [
{
"identifier" : "t1",
"formula" : "v0",
"caption" : "Total Construction Cost [$/ft2]",
"scaling" : true,
"min" : "100",
"max" : "500",
"weight" : "1.0"
}