temp externa= tabtemp(Time) ~ graus celsius [0,200,1] ~ | Temperatura Interna= INTEG ( entrada do calor externo-resfriamento, temperatura desejada) ~ ~ | tabtemp( [(0,0)-(30,40)],(0.183486,23.1579),(2.66055,21.5789),(4.22018,20.8772),(5.50459,20.8772\ ),(6.09174,20.5263),(7.41284,26.8421),(8.95413,31.0526),(10.8624,34.5614),(13.3578,\ 35.7895),(15.8532,33.5088),(17.9083,28.9474),(20.6422,24.7368),(24.3119,22.2807),(29.7248\ ,21.2281)) ~ ~ | entrada do calor externo= (temp externa-Temperatura Interna)/isolamento termico ~ ~ | capacidade de resfrianto= potencia/1000 ~ graus celsius/Hour ~ | "consumo kw/hora"= potencia/8500 ~ [0,100,1] ~ | custo= INTEG ( energia, 0) ~ ~ | energia= "liga refrig."*"consumo kw/hora"*"R$/kw"*30.4167 ~ ~ | potencia= 30000 ~ [5000,100000,1000] ~ | "R$/kw"= 0.3 ~ [0.1,2,0.1] ~ | "liga refrig."= IF THEN ELSE(refrigeração estava ligada :AND: Temperatura Interna >temperatura desejada - variação permitida,1, IF THEN ELSE(Temperatura Interna>temperatura desejada+variação permitida,1,0)) ~ ~ chave que indica que o termostato esta ligado | refrigeração estava ligada= DELAY FIXED("liga refrig.",0,0) ~ ~ Indica que o termostato esta ligado | resfriamento= "liga refrig."*capacidade de resfrianto ~ graus celsius/Hour ~ | isolamento termico= 1 ~ Hour [1,5,1] ~ tempo necessario para que a temperatura interna atinja a temperatura \ externa, sem refrigeração | temperatura desejada= 22 ~ graus celsius [0,40,1] ~ | variação permitida= 3 ~ graus celsius ~ buffer que permite que o termostato fique ligado enquanto a casa refrigera | FINAL TIME = 24 ~ Hour ~ The final time for the simulation. | INITIAL TIME = 0 ~ Hour ~ The initial time for the simulation. | SAVEPER = TIME STEP ~ Hour ~ The frequency with which output is stored. | TIME STEP = 0.0625 ~ Hour ~ The time step for the simulation. | \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *1 $192-192-192,0,Times New Roman|10||0-0-0|0-0-0|0-0-255|-1--1--1|255-255-255|96,96 10,1,Temperatura Interna,371,245,53,33,3,3,0,0,0,0,0,0 12,2,48,159,243,10,8,0,3,0,0,-1,0,0,0 1,3,5,1,4,0,0,22,0,0,0,-1--1--1,,1|(282,245)| 1,4,5,2,100,0,0,22,0,0,0,-1--1--1,,1|(202,245)| 11,5,48,241,245,6,8,34,3,0,0,1,0,0,0 10,6,entrada do calor externo,241,273,40,20,35,3,0,0,-1,0,0,0 12,7,48,585,246,10,8,0,3,0,0,-1,0,0,0 1,8,10,7,4,0,0,22,0,0,0,-1--1--1,,1|(539,246)| 1,9,10,1,100,0,0,22,0,0,0,-1--1--1,,1|(458,246)| 11,10,48,498,246,6,8,34,3,0,0,1,0,0,0 10,11,resfriamento,498,274,40,20,35,3,0,0,-1,0,0,0 10,12,temp externa,185,183,32,32,2,3,0,0,0,0,0,0 10,13,isolamento termico,123,310,40,14,8,3,0,0,0,0,0,0 1,14,12,5,0,0,0,0,0,64,0,-1--1--1,,1|(216,217)| 1,15,13,6,1,0,0,0,0,64,0,-1--1--1,,1|(180,309)| 1,16,1,6,1,0,0,0,0,64,0,-1--1--1,,1|(308,300)| 10,17,refrigeração estava ligada,513,48,37,15,8,3,0,0,0,0,0,0 10,18,"liga refrig.",456,145,30,30,2,3,0,0,0,0,0,0 10,19,variação permitida,618,130,51,9,8,3,0,0,0,0,0,0 10,20,temperatura desejada,619,192,59,9,8,3,0,0,0,0,0,0 1,21,17,18,1,0,0,0,0,64,0,-1--1--1,,1|(450,71)| 1,22,18,17,1,0,0,0,0,64,0,-1--1--1,,1|(520,104)| 1,23,19,18,1,0,0,0,0,64,0,-1--1--1,,1|(535,158)| 1,24,20,18,1,0,0,0,0,64,0,-1--1--1,,1|(535,192)| 1,25,18,10,1,0,0,0,0,64,0,-1--1--1,,1|(452,198)| 10,26,capacidade de resfrianto,388,339,35,35,2,3,0,0,0,0,0,0 1,27,26,11,1,0,0,0,0,64,0,-1--1--1,,1|(450,328)| 1,28,1,18,1,0,0,0,0,64,0,-1--1--1,,1|(386,168)| 10,29,custo,177,88,40,20,3,3,0,0,0,0,0,0 12,30,48,325,86,10,8,0,3,0,0,-1,0,0,0 1,31,33,29,4,0,0,22,0,0,0,-1--1--1,,1|(244,86)| 1,32,33,30,100,0,0,22,0,0,0,-1--1--1,,1|(299,86)| 11,33,48,278,86,6,8,34,3,0,0,1,0,0,0 10,34,energia,278,124,25,30,35,3,0,0,-1,0,0,0 1,35,18,34,1,0,0,0,0,64,0,-1--1--1,,1|(328,128)| 10,36,"consumo kw/hora",340,16,29,29,2,3,0,0,0,0,0,0 1,37,36,33,1,0,0,0,0,64,0,-1--1--1,,1|(288,40)| 10,38,"R$/kw",232,29,19,9,8,3,0,0,0,0,0,0 1,39,38,33,1,0,0,0,0,64,0,-1--1--1,,1|(236,47)| 10,40,potencia,531,332,25,9,8,3,0,0,0,0,0,0 1,41,40,26,1,0,0,0,0,64,0,-1--1--1,,1|(468,354)| 10,42,potencia,425,-33,32,9,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|10||128-128-128 1,43,42,36,1,0,0,0,0,64,0,-1--1--1,,1|(402,-1)| 10,44,tabtemp,76,152,31,31,6,3,0,0,0,0,0,0 1,45,44,12,1,0,0,0,0,64,0,-1--1--1,,1|(131,141)| 10,46,Time,82,207,22,9,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|10||128-128-128 1,47,46,12,1,0,0,0,0,64,0,-1--1--1,,1|(116,180)| 12,49,0,94,16,60,22,8,4,0,0,-1,0,0,0 R.Sgrillo (CEPEC/UESC) sgrillo@cepec.gov.br 1,50,20,1,0,0,0,0,0,0,1,-1--1--1,,1|(507,215)| ///---\\\ :GRAPH GRAPH :TITLE GRAPH :X-AXIS Time :SCALE :VAR refriferação está ligada :VAR refrigeração estava ligada :L<%^E!@ 1:Current.vdf 1:C:\0Uesc\DCET\DinamicaSistemas\Modelos\Current.vdf 9:Current 15:0,0,0,0,0,0 19:100,0 27:2, 4:Time 5:capacidade de resfrianto 24:0 25:24 26:24