{"id":117837,"date":"2023-08-18T13:11:09","date_gmt":"2023-08-18T11:11:09","guid":{"rendered":"https:\/\/www.velasolaris.com\/handbuch\/variables\/"},"modified":"2023-08-18T13:11:09","modified_gmt":"2023-08-18T11:11:09","slug":"variables","status":"publish","type":"handbuch","link":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/","title":{"rendered":"Variables"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In the formulas, different variables are available to access controller inputs or outputs or other statuses of the simulation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Table: Variables available to access controller inputs and outputs<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>I1<br>I2<br>\u2026<br>I16<\/td><td>Current value of a <strong>controller input<\/strong><br>Value of the controller input in the current time step of the simulation. Only variables that are linked to sensors are allowed for use.<\/td><\/tr><tr><td>PI1<br>PI2<br>\u2026<br>PI16<\/td><td>Latest value of a <strong>controller input<\/strong><br>Value of the controller input from the latest time step of the simulation. Only variables that are linked to sensors are allowed for use.<\/td><\/tr><tr><td>O1<br>O2<br>\u2026<br>O16<\/td><td>Current value of a <strong>controller output<\/strong> Value of the controller output in the current time step of the simulation. Only variables that are linked to actuators are allowed for use.<\/td><\/tr><tr><td>PO1<br>PO2<br>\u2026<br>PO16<\/td><td>Latest value of a <strong>controller output<\/strong> Value of the controller output from the latest time step of the simulation. Only variables that are linked to actuators are allowed for use.<\/td><\/tr><tr><td>H1<br>H2<br>\u2026<br>H8<\/td><td>Current value of an <strong>auxiliary variable <\/strong>(constant, formula or time delay) Value of the auxiliary variable in the current time step of the simulation. Only previously defined variables are allowed for use.<\/td><\/tr><tr><td>PH1<br>PH2<br>\u2026<br>PH8<\/td><td>Latest value of an <strong>auxiliary variable <\/strong>(constant, formula or time delay) Value of the auxiliary variable from the latest time step of the simulation. Only previously defined variables are allowed for use.<\/td><\/tr><tr><td>S<\/td><td>Number of the active <strong>status<\/strong> (operating status) in the current time step of the simulation. The variable may include values ranging from 1 to the number of defined states (max. 16).<\/td><\/tr><tr><td>PS<\/td><td>Number of the active <strong>status<\/strong> (operating status) from the latest time step of the simulation. The variable may include values ranging from 1 to the number of defined statuses (max. 16).<\/td><\/tr><tr><td>TS<\/td><td>Current <strong>time step <\/strong>in seconds since the start of the simulation (January 1<sup>st<\/sup> 00:00)<\/td><\/tr><tr><td>PTS<\/td><td>Last <strong>time step<\/strong> in seconds since the start of the simulation (January 1<sup>st<\/sup> 00:00)<\/td><\/tr><tr><td>TC<\/td><td>Signal of the <strong>time switch <\/strong>from this controller. Returns the value 1 if the time switch is on, 0 if the time switch is off.<\/td><\/tr><tr><td>PI<\/td><td>Constant <strong>\u03c0<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">All numbers included in the formulas should use the \u201cpoint\u201c as a decimal separator (regardless of the \u201cLanguage and Region\u201d setting in Polysun). The symbol \u201cE\u201c may be used as an exponent, for example 1234.6 or 1.2346E3<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Controller inputs may be used for the following variables. For the variables from I1 to I16 or from PI1 to PI16, the value is returned in the following basic unit (regardless of the \u201cUnits\u201d setting in Polysun):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Table: Basic units of measure for the variables from I1 to I16 or from Pl1 to Pl16<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Temperature<\/td><td>\u00b0C<\/td><\/tr><tr><td>Area<\/td><td>m<sup>2<\/sup><\/td><\/tr><tr><td>Power<\/td><td>W<\/td><\/tr><tr><td>Specific power<\/td><td>W\/m<sup>2<\/sup><\/td><\/tr><tr><td>Thermal conductivity<\/td><td>W\/K<\/td><\/tr><tr><td>Heat capacity<\/td><td>J\/(l*K)<\/td><\/tr><tr><td>Flow-rate<\/td><td>l\/h<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Controller outputs may be used for the following variables. For the variables from O1 to O16 or&nbsp; from PO1 to PO16, the value is returned in the following basic unit (regardless of the \u201cUnits\u201d setting in Polysun):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Table: Basic units of measure for the variables from O1 to O16 or from PO1 to PO16<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Status<\/td><td>Without unit, on\/off signal, value 0 or 1<\/td><\/tr><tr><td>Percentage<\/td><td>Without unit, analogue control signal, value from 0 to 1<\/td><\/tr><tr><td>Leistung<\/td><td>W<\/td><\/tr><tr><td>Flow-rate<\/td><td>l\/h<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"author":19748,"featured_media":0,"parent":117832,"menu_order":39,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-117837","handbuch","type-handbuch","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.0 (Yoast SEO v28.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Variables - POLYSUN<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Variables\" \/>\n<meta property=\"og:description\" content=\"In the formulas, different variables are available to access controller inputs or outputs or...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/\" \/>\n<meta property=\"og:site_name\" content=\"POLYSUN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/polysun.switzerland\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/variables\\\/\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/variables\\\/\",\"name\":\"Variables - POLYSUN\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#website\"},\"datePublished\":\"2023-08-18T11:11:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/variables\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/variables\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/variables\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Polysun Designer\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Controllers\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Programmable Controller\",\"item\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/handbuch\\\/polysun-designer\\\/controllers\\\/programmable-controller\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Variables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/\",\"name\":\"POLYSUN\",\"description\":\"by Vela Solaris\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#organization\",\"name\":\"POLYSUN\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.velasolaris.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Polysun-Logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.velasolaris.com\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Polysun-Logo.svg\",\"width\":1,\"height\":1,\"caption\":\"POLYSUN\"},\"image\":{\"@id\":\"https:\\\/\\\/www.velasolaris.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/polysun.switzerland\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/vela-solaris\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Variables - POLYSUN","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/","og_locale":"en_US","og_type":"article","og_title":"Variables","og_description":"In the formulas, different variables are available to access controller inputs or outputs or...","og_url":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/","og_site_name":"POLYSUN","article_publisher":"https:\/\/www.facebook.com\/polysun.switzerland\/","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/","url":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/","name":"Variables - POLYSUN","isPartOf":{"@id":"https:\/\/www.velasolaris.com\/en\/#website"},"datePublished":"2023-08-18T11:11:09+00:00","breadcrumb":{"@id":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/variables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velasolaris.com\/en\/"},{"@type":"ListItem","position":2,"name":"Polysun Designer","item":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/"},{"@type":"ListItem","position":3,"name":"Controllers","item":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/"},{"@type":"ListItem","position":4,"name":"Programmable Controller","item":"https:\/\/www.velasolaris.com\/en\/handbuch\/polysun-designer\/controllers\/programmable-controller\/"},{"@type":"ListItem","position":5,"name":"Variables"}]},{"@type":"WebSite","@id":"https:\/\/www.velasolaris.com\/en\/#website","url":"https:\/\/www.velasolaris.com\/en\/","name":"POLYSUN","description":"by Vela Solaris","publisher":{"@id":"https:\/\/www.velasolaris.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velasolaris.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.velasolaris.com\/en\/#organization","name":"POLYSUN","url":"https:\/\/www.velasolaris.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.velasolaris.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.velasolaris.com\/wp-content\/uploads\/2020\/07\/Polysun-Logo.svg","contentUrl":"https:\/\/www.velasolaris.com\/wp-content\/uploads\/2020\/07\/Polysun-Logo.svg","width":1,"height":1,"caption":"POLYSUN"},"image":{"@id":"https:\/\/www.velasolaris.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/polysun.switzerland\/","https:\/\/www.linkedin.com\/company\/vela-solaris\/"]}]}},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch"}],"about":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/types\/handbuch"}],"author":[{"embeddable":true,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/users\/19748"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/comments?post=117837"}],"version-history":[{"count":0,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117837\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/handbuch\/117832"}],"wp:attachment":[{"href":"https:\/\/www.velasolaris.com\/en\/wp-json\/wp\/v2\/media?parent=117837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}