+
+ Read the Docs
+ v: ${config.versions.current.slug}
+
+
+
+ `;
+
+ // Inject the generated flyout into the body HTML element.
+ document.body.insertAdjacentHTML("beforeend", flyout);
+
+ // Trigger the Read the Docs Addons Search modal when clicking on the "Search docs" input from inside the flyout.
+ document
+ .querySelector("#flyout-search-form")
+ .addEventListener("focusin", () => {
+ const event = new CustomEvent("readthedocs-search-show");
+ document.dispatchEvent(event);
+ });
+ })
+}
+
+if (themeLanguageSelector || themeVersionSelector) {
+ function onSelectorSwitch(event) {
+ const option = event.target.selectedIndex;
+ const item = event.target.options[option];
+ window.location.href = item.dataset.url;
+ }
+
+ document.addEventListener("readthedocs-addons-data-ready", function (event) {
+ const config = event.detail.data();
+
+ const versionSwitch = document.querySelector(
+ "div.switch-menus > div.version-switch",
+ );
+ if (themeVersionSelector) {
+ let versions = config.versions.active;
+ if (config.versions.current.hidden || config.versions.current.type === "external") {
+ versions.unshift(config.versions.current);
+ }
+ const versionSelect = `
+
+ ${versions
+ .map(
+ (version) => `
+
+ ${version.slug}
+ `,
+ )
+ .join("\n")}
+
+ `;
+
+ versionSwitch.innerHTML = versionSelect;
+ versionSwitch.firstElementChild.addEventListener("change", onSelectorSwitch);
+ }
+
+ const languageSwitch = document.querySelector(
+ "div.switch-menus > div.language-switch",
+ );
+
+ if (themeLanguageSelector) {
+ if (config.projects.translations.length) {
+ // Add the current language to the options on the selector
+ let languages = config.projects.translations.concat(
+ config.projects.current,
+ );
+ languages = languages.sort((a, b) =>
+ a.language.name.localeCompare(b.language.name),
+ );
+
+ const languageSelect = `
+
+ ${languages
+ .map(
+ (language) => `
+
+ ${language.language.name}
+ `,
+ )
+ .join("\n")}
+
+ `;
+
+ languageSwitch.innerHTML = languageSelect;
+ languageSwitch.firstElementChild.addEventListener("change", onSelectorSwitch);
+ }
+ else {
+ languageSwitch.remove();
+ }
+ }
+ });
+}
+
+document.addEventListener("readthedocs-addons-data-ready", function (event) {
+ // Trigger the Read the Docs Addons Search modal when clicking on "Search docs" input from the topnav.
+ document
+ .querySelector("[role='search'] input")
+ .addEventListener("focusin", () => {
+ const event = new CustomEvent("readthedocs-search-show");
+ document.dispatchEvent(event);
+ });
+});
\ No newline at end of file
diff --git a/docs/build/html/_static/language_data.js b/docs/build/html/_static/language_data.js
new file mode 100644
index 0000000..08ddb5e
--- /dev/null
+++ b/docs/build/html/_static/language_data.js
@@ -0,0 +1,19 @@
+/*
+ * language_data.js
+ * ~~~~~~~~~~~~~~~~
+ *
+ * This script contains the language-specific data used by searchtools.js,
+ * namely the list of stopwords, stemmer, scorer and splitter.
+ *
+ * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
+ * :license: BSD, see LICENSE for details.
+ *
+ */
+
+var stopwords = ["aber", "alle", "allem", "allen", "aller", "alles", "als", "also", "am", "an", "ander", "andere", "anderem", "anderen", "anderer", "anderes", "anderm", "andern", "anderr", "anders", "auch", "auf", "aus", "bei", "bin", "bis", "bist", "da", "damit", "dann", "das", "dasselbe", "dazu", "da\u00df", "dein", "deine", "deinem", "deinen", "deiner", "deines", "dem", "demselben", "den", "denn", "denselben", "der", "derer", "derselbe", "derselben", "des", "desselben", "dessen", "dich", "die", "dies", "diese", "dieselbe", "dieselben", "diesem", "diesen", "dieser", "dieses", "dir", "doch", "dort", "du", "durch", "ein", "eine", "einem", "einen", "einer", "eines", "einig", "einige", "einigem", "einigen", "einiger", "einiges", "einmal", "er", "es", "etwas", "euch", "euer", "eure", "eurem", "euren", "eurer", "eures", "f\u00fcr", "gegen", "gewesen", "hab", "habe", "haben", "hat", "hatte", "hatten", "hier", "hin", "hinter", "ich", "ihm", "ihn", "ihnen", "ihr", "ihre", "ihrem", "ihren", "ihrer", "ihres", "im", "in", "indem", "ins", "ist", "jede", "jedem", "jeden", "jeder", "jedes", "jene", "jenem", "jenen", "jener", "jenes", "jetzt", "kann", "kein", "keine", "keinem", "keinen", "keiner", "keines", "k\u00f6nnen", "k\u00f6nnte", "machen", "man", "manche", "manchem", "manchen", "mancher", "manches", "mein", "meine", "meinem", "meinen", "meiner", "meines", "mich", "mir", "mit", "muss", "musste", "nach", "nicht", "nichts", "noch", "nun", "nur", "ob", "oder", "ohne", "sehr", "sein", "seine", "seinem", "seinen", "seiner", "seines", "selbst", "sich", "sie", "sind", "so", "solche", "solchem", "solchen", "solcher", "solches", "soll", "sollte", "sondern", "sonst", "um", "und", "uns", "unse", "unsem", "unsen", "unser", "unses", "unter", "viel", "vom", "von", "vor", "war", "waren", "warst", "was", "weg", "weil", "weiter", "welche", "welchem", "welchen", "welcher", "welches", "wenn", "werde", "werden", "wie", "wieder", "will", "wir", "wird", "wirst", "wo", "wollen", "wollte", "w\u00e4hrend", "w\u00fcrde", "w\u00fcrden", "zu", "zum", "zur", "zwar", "zwischen", "\u00fcber"];
+
+
+/* Non-minified version is copied as a separate JS file, is available */
+BaseStemmer=function(){this.setCurrent=function(r){this.current=r;this.cursor=0;this.limit=this.current.length;this.limit_backward=0;this.bra=this.cursor;this.ket=this.limit};this.getCurrent=function(){return this.current};this.copy_from=function(r){this.current=r.current;this.cursor=r.cursor;this.limit=r.limit;this.limit_backward=r.limit_backward;this.bra=r.bra;this.ket=r.ket};this.in_grouping=function(r,t,i){if(this.cursor>=this.limit)return false;var s=this.current.charCodeAt(this.cursor);if(s>i||s
>>3]&1<<(s&7))==0)return false;this.cursor++;return true};this.in_grouping_b=function(r,t,i){if(this.cursor<=this.limit_backward)return false;var s=this.current.charCodeAt(this.cursor-1);if(s>i||s>>3]&1<<(s&7))==0)return false;this.cursor--;return true};this.out_grouping=function(r,t,i){if(this.cursor>=this.limit)return false;var s=this.current.charCodeAt(this.cursor);if(s>i||s>>3]&1<<(s&7))==0){this.cursor++;return true}return false};this.out_grouping_b=function(r,t,i){if(this.cursor<=this.limit_backward)return false;var s=this.current.charCodeAt(this.cursor-1);if(s>i||s>>3]&1<<(s&7))==0){this.cursor--;return true}return false};this.eq_s=function(r){if(this.limit-this.cursor>>1);var a=0;var f=h0)break;if(i==t)break;if(n)break;n=true}}do{var l=r[t];if(h>=l[0].length){this.cursor=s+l[0].length;if(l.length<4)return l[2];var v=l[3](this);this.cursor=s+l[0].length;if(v)return l[2]}t=l[1]}while(t>=0);return 0};this.find_among_b=function(r){var t=0;var i=r.length;var s=this.cursor;var e=this.limit_backward;var h=0;var u=0;var n=false;while(true){var c=t+(i-t>>1);var a=0;var f=h=0;o--){if(s-f==e){a=-1;break}a=this.current.charCodeAt(s-1-f)-l[0].charCodeAt(o);if(a!=0)break;f++}if(a<0){i=c;u=f}else{t=c;h=f}if(i-t<=1){if(t>0)break;if(i==t)break;if(n)break;n=true}}do{var l=r[t];if(h>=l[0].length){this.cursor=s-l[0].length;if(l.length<4)return l[2];var v=l[3](this);this.cursor=s-l[0].length;if(v)return l[2]}t=l[1]}while(t>=0);return 0};this.replace_s=function(r,t,i){var s=i.length-(t-r);this.current=this.current.slice(0,r)+i+this.current.slice(t);this.limit+=s;if(this.cursor>=t)this.cursor+=s;else if(this.cursor>r)this.cursor=r;return s};this.slice_check=function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>this.current.length){return false}return true};this.slice_from=function(r){var t=false;if(this.slice_check()){this.replace_s(this.bra,this.ket,r);t=true}return t};this.slice_del=function(){return this.slice_from("")};this.insert=function(r,t,i){var s=this.replace_s(r,t,i);if(r<=this.bra)this.bra+=s;if(r<=this.ket)this.ket+=s};this.slice_to=function(){var r="";if(this.slice_check()){r=this.current.slice(this.bra,this.ket)}return r};this.assign_to=function(){return this.current.slice(0,this.limit)}};
+GermanStemmer=function(){var r=new BaseStemmer;var e=[["",-1,5],["U",0,2],["Y",0,1],["ä",0,3],["ö",0,4],["ü",0,2]];var i=[["e",-1,2],["em",-1,1],["en",-1,2],["ern",-1,1],["er",-1,1],["s",-1,3],["es",5,2]];var s=[["en",-1,1],["er",-1,1],["st",-1,2],["est",2,1]];var u=[["ig",-1,1],["lich",-1,1]];var a=[["end",-1,1],["ig",-1,2],["ung",-1,1],["lich",-1,3],["isch",-1,2],["ik",-1,2],["heit",-1,3],["keit",-1,4]];var c=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8];var t=[117,30,5];var o=[117,30,4];var f=0;var l=0;var n=0;function b(){var e=r.cursor;while(true){var i=r.cursor;r:{e:{var s=r.cursor;i:{r.bra=r.cursor;if(!r.eq_s("ß")){break i}r.ket=r.cursor;if(!r.slice_from("ss")){return false}break e}r.cursor=s;if(r.cursor>=r.limit){break r}r.cursor++}continue}r.cursor=i;break}r.cursor=e;while(true){var u=r.cursor;r:{e:while(true){var a=r.cursor;i:{if(!r.in_grouping(c,97,252)){break i}r.bra=r.cursor;s:{var t=r.cursor;u:{if(!r.eq_s("u")){break u}r.ket=r.cursor;if(!r.in_grouping(c,97,252)){break u}if(!r.slice_from("U")){return false}break s}r.cursor=t;if(!r.eq_s("y")){break i}r.ket=r.cursor;if(!r.in_grouping(c,97,252)){break i}if(!r.slice_from("Y")){return false}}r.cursor=a;break e}r.cursor=a;if(r.cursor>=r.limit){break r}r.cursor++}continue}r.cursor=u;break}return true}function k(){n=r.limit;l=r.limit;var e=r.cursor;{var i=r.cursor+3;if(i>r.limit){return false}r.cursor=i}f=r.cursor;r.cursor=e;r:while(true){e:{if(!r.in_grouping(c,97,252)){break e}break r}if(r.cursor>=r.limit){return false}r.cursor++}r:while(true){e:{if(!r.out_grouping(c,97,252)){break e}break r}if(r.cursor>=r.limit){return false}r.cursor++}n=r.cursor;r:{if(!(n=r.limit){return false}r.cursor++}r:while(true){e:{if(!r.out_grouping(c,97,252)){break e}break r}if(r.cursor>=r.limit){return false}r.cursor++}l=r.cursor;return true}function m(){var i;while(true){var s=r.cursor;r:{r.bra=r.cursor;i=r.find_among(e);if(i==0){break r}r.ket=r.cursor;switch(i){case 1:if(!r.slice_from("y")){return false}break;case 2:if(!r.slice_from("u")){return false}break;case 3:if(!r.slice_from("a")){return false}break;case 4:if(!r.slice_from("o")){return false}break;case 5:if(r.cursor>=r.limit){break r}r.cursor++;break}continue}r.cursor=s;break}return true}function _(){if(!(n<=r.cursor)){return false}return true}function v(){if(!(l<=r.cursor)){return false}return true}function g(){var e;var c=r.limit-r.cursor;r:{r.ket=r.cursor;e=r.find_among_b(i);if(e==0){break r}r.bra=r.cursor;if(!_()){break r}switch(e){case 1:if(!r.slice_del()){return false}break;case 2:if(!r.slice_del()){return false}var f=r.limit-r.cursor;e:{r.ket=r.cursor;if(!r.eq_s_b("s")){r.cursor=r.limit-f;break e}r.bra=r.cursor;if(!r.eq_s_b("nis")){r.cursor=r.limit-f;break e}if(!r.slice_del()){return false}}break;case 3:if(!r.in_grouping_b(t,98,116)){break r}if(!r.slice_del()){return false}break}}r.cursor=r.limit-c;var l=r.limit-r.cursor;r:{r.ket=r.cursor;e=r.find_among_b(s);if(e==0){break r}r.bra=r.cursor;if(!_()){break r}switch(e){case 1:if(!r.slice_del()){return false}break;case 2:if(!r.in_grouping_b(o,98,116)){break r}{var n=r.cursor-3;if(n {
+ const [docname, title, anchor, descr, score, filename] = result
+ return score
+ },
+ */
+
+ // query matches the full name of an object
+ objNameMatch: 11,
+ // or matches in the last dotted part of the object name
+ objPartialMatch: 6,
+ // Additive scores depending on the priority of the object
+ objPrio: {
+ 0: 15, // used to be importantResults
+ 1: 5, // used to be objectResults
+ 2: -5, // used to be unimportantResults
+ },
+ // Used when the priority is not in the mapping.
+ objPrioDefault: 0,
+
+ // query found in title
+ title: 15,
+ partialTitle: 7,
+ // query found in terms
+ term: 5,
+ partialTerm: 2,
+ };
+}
+
+const _removeChildren = (element) => {
+ while (element && element.lastChild) element.removeChild(element.lastChild);
+};
+
+/**
+ * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping
+ */
+const _escapeRegExp = (string) =>
+ string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
+
+const _displayItem = (item, searchTerms) => {
+ const docBuilder = DOCUMENTATION_OPTIONS.BUILDER;
+ const docUrlRoot = DOCUMENTATION_OPTIONS.URL_ROOT;
+ const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX;
+ const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX;
+ const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;
+
+ const [docName, title, anchor, descr, score, _filename] = item;
+
+ let listItem = document.createElement("li");
+ let requestUrl;
+ let linkUrl;
+ if (docBuilder === "dirhtml") {
+ // dirhtml builder
+ let dirname = docName + "/";
+ if (dirname.match(/\/index\/$/))
+ dirname = dirname.substring(0, dirname.length - 6);
+ else if (dirname === "index/") dirname = "";
+ requestUrl = docUrlRoot + dirname;
+ linkUrl = requestUrl;
+ } else {
+ // normal html builders
+ requestUrl = docUrlRoot + docName + docFileSuffix;
+ linkUrl = docName + docLinkSuffix;
+ }
+ let linkEl = listItem.appendChild(document.createElement("a"));
+ linkEl.href = linkUrl + anchor;
+ linkEl.dataset.score = score;
+ linkEl.innerHTML = title;
+ if (descr)
+ listItem.appendChild(document.createElement("span")).innerHTML =
+ " (" + descr + ")";
+ else if (showSearchSummary)
+ fetch(requestUrl)
+ .then((responseData) => responseData.text())
+ .then((data) => {
+ if (data)
+ listItem.appendChild(
+ Search.makeSearchSummary(data, searchTerms)
+ );
+ });
+ Search.output.appendChild(listItem);
+};
+const _finishSearch = (resultCount) => {
+ Search.stopPulse();
+ Search.title.innerText = _("Search Results");
+ if (!resultCount)
+ Search.status.innerText = Documentation.gettext(
+ "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories."
+ );
+ else
+ Search.status.innerText = _(
+ `Search finished, found ${resultCount} page(s) matching the search query.`
+ );
+};
+const _displayNextItem = (
+ results,
+ resultCount,
+ searchTerms
+) => {
+ // results left, load the summary and display it
+ // this is intended to be dynamic (don't sub resultsCount)
+ if (results.length) {
+ _displayItem(results.pop(), searchTerms);
+ setTimeout(
+ () => _displayNextItem(results, resultCount, searchTerms),
+ 5
+ );
+ }
+ // search finished, update title and status message
+ else _finishSearch(resultCount);
+};
+
+/**
+ * Default splitQuery function. Can be overridden in ``sphinx.search`` with a
+ * custom function per language.
+ *
+ * The regular expression works by splitting the string on consecutive characters
+ * that are not Unicode letters, numbers, underscores, or emoji characters.
+ * This is the same as ``\W+`` in Python, preserving the surrogate pair area.
+ */
+if (typeof splitQuery === "undefined") {
+ var splitQuery = (query) => query
+ .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu)
+ .filter(term => term) // remove remaining empty strings
+}
+
+/**
+ * Search Module
+ */
+const Search = {
+ _index: null,
+ _queued_query: null,
+ _pulse_status: -1,
+
+ htmlToText: (htmlString) => {
+ const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
+ htmlElement.querySelectorAll(".headerlink").forEach((el) => { el.remove() });
+ const docContent = htmlElement.querySelector('[role="main"]');
+ if (docContent !== undefined) return docContent.textContent;
+ console.warn(
+ "Content block not found. Sphinx search tries to obtain it via '[role=main]'. Could you check your theme or template."
+ );
+ return "";
+ },
+
+ init: () => {
+ const query = new URLSearchParams(window.location.search).get("q");
+ document
+ .querySelectorAll('input[name="q"]')
+ .forEach((el) => (el.value = query));
+ if (query) Search.performSearch(query);
+ },
+
+ loadIndex: (url) =>
+ (document.body.appendChild(document.createElement("script")).src = url),
+
+ setIndex: (index) => {
+ Search._index = index;
+ if (Search._queued_query !== null) {
+ const query = Search._queued_query;
+ Search._queued_query = null;
+ Search.query(query);
+ }
+ },
+
+ hasIndex: () => Search._index !== null,
+
+ deferQuery: (query) => (Search._queued_query = query),
+
+ stopPulse: () => (Search._pulse_status = -1),
+
+ startPulse: () => {
+ if (Search._pulse_status >= 0) return;
+
+ const pulse = () => {
+ Search._pulse_status = (Search._pulse_status + 1) % 4;
+ Search.dots.innerText = ".".repeat(Search._pulse_status);
+ if (Search._pulse_status >= 0) window.setTimeout(pulse, 500);
+ };
+ pulse();
+ },
+
+ /**
+ * perform a search for something (or wait until index is loaded)
+ */
+ performSearch: (query) => {
+ // create the required interface elements
+ const searchText = document.createElement("h2");
+ searchText.textContent = _("Searching");
+ const searchSummary = document.createElement("p");
+ searchSummary.classList.add("search-summary");
+ searchSummary.innerText = "";
+ const searchList = document.createElement("ul");
+ searchList.classList.add("search");
+
+ const out = document.getElementById("search-results");
+ Search.title = out.appendChild(searchText);
+ Search.dots = Search.title.appendChild(document.createElement("span"));
+ Search.status = out.appendChild(searchSummary);
+ Search.output = out.appendChild(searchList);
+
+ const searchProgress = document.getElementById("search-progress");
+ // Some themes don't use the search progress node
+ if (searchProgress) {
+ searchProgress.innerText = _("Preparing search...");
+ }
+ Search.startPulse();
+
+ // index already loaded, the browser was quick!
+ if (Search.hasIndex()) Search.query(query);
+ else Search.deferQuery(query);
+ },
+
+ /**
+ * execute search (requires search index to be loaded)
+ */
+ query: (query) => {
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const titles = Search._index.titles;
+ const allTitles = Search._index.alltitles;
+ const indexEntries = Search._index.indexentries;
+
+ // stem the search terms and add them to the correct list
+ const stemmer = new Stemmer();
+ const searchTerms = new Set();
+ const excludedTerms = new Set();
+ const highlightTerms = new Set();
+ const objectTerms = new Set(splitQuery(query.toLowerCase().trim()));
+ splitQuery(query.trim()).forEach((queryTerm) => {
+ const queryTermLower = queryTerm.toLowerCase();
+
+ // maybe skip this "word"
+ // stopwords array is from language_data.js
+ if (
+ stopwords.indexOf(queryTermLower) !== -1 ||
+ queryTerm.match(/^\d+$/)
+ )
+ return;
+
+ // stem the word
+ let word = stemmer.stemWord(queryTermLower);
+ // select the correct list
+ if (word[0] === "-") excludedTerms.add(word.substr(1));
+ else {
+ searchTerms.add(word);
+ highlightTerms.add(queryTermLower);
+ }
+ });
+
+ if (SPHINX_HIGHLIGHT_ENABLED) { // set in sphinx_highlight.js
+ localStorage.setItem("sphinx_highlight_terms", [...highlightTerms].join(" "))
+ }
+
+ // console.debug("SEARCH: searching for:");
+ // console.info("required: ", [...searchTerms]);
+ // console.info("excluded: ", [...excludedTerms]);
+
+ // array of [docname, title, anchor, descr, score, filename]
+ let results = [];
+ _removeChildren(document.getElementById("search-progress"));
+
+ const queryLower = query.toLowerCase();
+ for (const [title, foundTitles] of Object.entries(allTitles)) {
+ if (title.toLowerCase().includes(queryLower) && (queryLower.length >= title.length/2)) {
+ for (const [file, id] of foundTitles) {
+ let score = Math.round(100 * queryLower.length / title.length)
+ results.push([
+ docNames[file],
+ titles[file] !== title ? `${titles[file]} > ${title}` : title,
+ id !== null ? "#" + id : "",
+ null,
+ score,
+ filenames[file],
+ ]);
+ }
+ }
+ }
+
+ // search for explicit entries in index directives
+ for (const [entry, foundEntries] of Object.entries(indexEntries)) {
+ if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) {
+ for (const [file, id] of foundEntries) {
+ let score = Math.round(100 * queryLower.length / entry.length)
+ results.push([
+ docNames[file],
+ titles[file],
+ id ? "#" + id : "",
+ null,
+ score,
+ filenames[file],
+ ]);
+ }
+ }
+ }
+
+ // lookup as object
+ objectTerms.forEach((term) =>
+ results.push(...Search.performObjectSearch(term, objectTerms))
+ );
+
+ // lookup as search terms in fulltext
+ results.push(...Search.performTermsSearch(searchTerms, excludedTerms));
+
+ // let the scorer override scores with a custom scoring function
+ if (Scorer.score) results.forEach((item) => (item[4] = Scorer.score(item)));
+
+ // now sort the results by score (in opposite order of appearance, since the
+ // display function below uses pop() to retrieve items) and then
+ // alphabetically
+ results.sort((a, b) => {
+ const leftScore = a[4];
+ const rightScore = b[4];
+ if (leftScore === rightScore) {
+ // same score: sort alphabetically
+ const leftTitle = a[1].toLowerCase();
+ const rightTitle = b[1].toLowerCase();
+ if (leftTitle === rightTitle) return 0;
+ return leftTitle > rightTitle ? -1 : 1; // inverted is intentional
+ }
+ return leftScore > rightScore ? 1 : -1;
+ });
+
+ // remove duplicate search results
+ // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept
+ let seen = new Set();
+ results = results.reverse().reduce((acc, result) => {
+ let resultStr = result.slice(0, 4).concat([result[5]]).map(v => String(v)).join(',');
+ if (!seen.has(resultStr)) {
+ acc.push(result);
+ seen.add(resultStr);
+ }
+ return acc;
+ }, []);
+
+ results = results.reverse();
+
+ // for debugging
+ //Search.lastresults = results.slice(); // a copy
+ // console.info("search results:", Search.lastresults);
+
+ // print the results
+ _displayNextItem(results, results.length, searchTerms);
+ },
+
+ /**
+ * search for object names
+ */
+ performObjectSearch: (object, objectTerms) => {
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const objects = Search._index.objects;
+ const objNames = Search._index.objnames;
+ const titles = Search._index.titles;
+
+ const results = [];
+
+ const objectSearchCallback = (prefix, match) => {
+ const name = match[4]
+ const fullname = (prefix ? prefix + "." : "") + name;
+ const fullnameLower = fullname.toLowerCase();
+ if (fullnameLower.indexOf(object) < 0) return;
+
+ let score = 0;
+ const parts = fullnameLower.split(".");
+
+ // check for different match types: exact matches of full name or
+ // "last name" (i.e. last dotted part)
+ if (fullnameLower === object || parts.slice(-1)[0] === object)
+ score += Scorer.objNameMatch;
+ else if (parts.slice(-1)[0].indexOf(object) > -1)
+ score += Scorer.objPartialMatch; // matches in last name
+
+ const objName = objNames[match[1]][2];
+ const title = titles[match[0]];
+
+ // If more than one term searched for, we require other words to be
+ // found in the name/title/description
+ const otherTerms = new Set(objectTerms);
+ otherTerms.delete(object);
+ if (otherTerms.size > 0) {
+ const haystack = `${prefix} ${name} ${objName} ${title}`.toLowerCase();
+ if (
+ [...otherTerms].some((otherTerm) => haystack.indexOf(otherTerm) < 0)
+ )
+ return;
+ }
+
+ let anchor = match[3];
+ if (anchor === "") anchor = fullname;
+ else if (anchor === "-") anchor = objNames[match[1]][1] + "-" + fullname;
+
+ const descr = objName + _(", in ") + title;
+
+ // add custom score for some objects according to scorer
+ if (Scorer.objPrio.hasOwnProperty(match[2]))
+ score += Scorer.objPrio[match[2]];
+ else score += Scorer.objPrioDefault;
+
+ results.push([
+ docNames[match[0]],
+ fullname,
+ "#" + anchor,
+ descr,
+ score,
+ filenames[match[0]],
+ ]);
+ };
+ Object.keys(objects).forEach((prefix) =>
+ objects[prefix].forEach((array) =>
+ objectSearchCallback(prefix, array)
+ )
+ );
+ return results;
+ },
+
+ /**
+ * search for full-text terms in the index
+ */
+ performTermsSearch: (searchTerms, excludedTerms) => {
+ // prepare search
+ const terms = Search._index.terms;
+ const titleTerms = Search._index.titleterms;
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const titles = Search._index.titles;
+
+ const scoreMap = new Map();
+ const fileMap = new Map();
+
+ // perform the search on the required terms
+ searchTerms.forEach((word) => {
+ const files = [];
+ const arr = [
+ { files: terms[word], score: Scorer.term },
+ { files: titleTerms[word], score: Scorer.title },
+ ];
+ // add support for partial matches
+ if (word.length > 2) {
+ const escapedWord = _escapeRegExp(word);
+ Object.keys(terms).forEach((term) => {
+ if (term.match(escapedWord) && !terms[word])
+ arr.push({ files: terms[term], score: Scorer.partialTerm });
+ });
+ Object.keys(titleTerms).forEach((term) => {
+ if (term.match(escapedWord) && !titleTerms[word])
+ arr.push({ files: titleTerms[word], score: Scorer.partialTitle });
+ });
+ }
+
+ // no match but word was a required one
+ if (arr.every((record) => record.files === undefined)) return;
+
+ // found search word in contents
+ arr.forEach((record) => {
+ if (record.files === undefined) return;
+
+ let recordFiles = record.files;
+ if (recordFiles.length === undefined) recordFiles = [recordFiles];
+ files.push(...recordFiles);
+
+ // set score for the word in each file
+ recordFiles.forEach((file) => {
+ if (!scoreMap.has(file)) scoreMap.set(file, {});
+ scoreMap.get(file)[word] = record.score;
+ });
+ });
+
+ // create the mapping
+ files.forEach((file) => {
+ if (fileMap.has(file) && fileMap.get(file).indexOf(word) === -1)
+ fileMap.get(file).push(word);
+ else fileMap.set(file, [word]);
+ });
+ });
+
+ // now check if the files don't contain excluded terms
+ const results = [];
+ for (const [file, wordList] of fileMap) {
+ // check if all requirements are matched
+
+ // as search terms with length < 3 are discarded
+ const filteredTermCount = [...searchTerms].filter(
+ (term) => term.length > 2
+ ).length;
+ if (
+ wordList.length !== searchTerms.size &&
+ wordList.length !== filteredTermCount
+ )
+ continue;
+
+ // ensure that none of the excluded terms is in the search result
+ if (
+ [...excludedTerms].some(
+ (term) =>
+ terms[term] === file ||
+ titleTerms[term] === file ||
+ (terms[term] || []).includes(file) ||
+ (titleTerms[term] || []).includes(file)
+ )
+ )
+ break;
+
+ // select one (max) score for the file.
+ const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
+ // add result to the result list
+ results.push([
+ docNames[file],
+ titles[file],
+ "",
+ null,
+ score,
+ filenames[file],
+ ]);
+ }
+ return results;
+ },
+
+ /**
+ * helper function to return a node containing the
+ * search summary for a given text. keywords is a list
+ * of stemmed words.
+ */
+ makeSearchSummary: (htmlText, keywords) => {
+ const text = Search.htmlToText(htmlText);
+ if (text === "") return null;
+
+ const textLower = text.toLowerCase();
+ const actualStartPosition = [...keywords]
+ .map((k) => textLower.indexOf(k.toLowerCase()))
+ .filter((i) => i > -1)
+ .slice(-1)[0];
+ const startWithContext = Math.max(actualStartPosition - 120, 0);
+
+ const top = startWithContext === 0 ? "" : "...";
+ const tail = startWithContext + 240 < text.length ? "..." : "";
+
+ let summary = document.createElement("p");
+ summary.classList.add("context");
+ summary.textContent = top + text.substr(startWithContext, 240).trim() + tail;
+
+ return summary;
+ },
+};
+
+_ready(Search.init);
diff --git a/docs/build/html/_static/sphinx_highlight.js b/docs/build/html/_static/sphinx_highlight.js
new file mode 100644
index 0000000..aae669d
--- /dev/null
+++ b/docs/build/html/_static/sphinx_highlight.js
@@ -0,0 +1,144 @@
+/* Highlighting utilities for Sphinx HTML documentation. */
+"use strict";
+
+const SPHINX_HIGHLIGHT_ENABLED = true
+
+/**
+ * highlight a given string on a node by wrapping it in
+ * span elements with the given class name.
+ */
+const _highlight = (node, addItems, text, className) => {
+ if (node.nodeType === Node.TEXT_NODE) {
+ const val = node.nodeValue;
+ const parent = node.parentNode;
+ const pos = val.toLowerCase().indexOf(text);
+ if (
+ pos >= 0 &&
+ !parent.classList.contains(className) &&
+ !parent.classList.contains("nohighlight")
+ ) {
+ let span;
+
+ const closestNode = parent.closest("body, svg, foreignObject");
+ const isInSVG = closestNode && closestNode.matches("svg");
+ if (isInSVG) {
+ span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
+ } else {
+ span = document.createElement("span");
+ span.classList.add(className);
+ }
+
+ span.appendChild(document.createTextNode(val.substr(pos, text.length)));
+ parent.insertBefore(
+ span,
+ parent.insertBefore(
+ document.createTextNode(val.substr(pos + text.length)),
+ node.nextSibling
+ )
+ );
+ node.nodeValue = val.substr(0, pos);
+
+ if (isInSVG) {
+ const rect = document.createElementNS(
+ "http://www.w3.org/2000/svg",
+ "rect"
+ );
+ const bbox = parent.getBBox();
+ rect.x.baseVal.value = bbox.x;
+ rect.y.baseVal.value = bbox.y;
+ rect.width.baseVal.value = bbox.width;
+ rect.height.baseVal.value = bbox.height;
+ rect.setAttribute("class", className);
+ addItems.push({ parent: parent, target: rect });
+ }
+ }
+ } else if (node.matches && !node.matches("button, select, textarea")) {
+ node.childNodes.forEach((el) => _highlight(el, addItems, text, className));
+ }
+};
+const _highlightText = (thisNode, text, className) => {
+ let addItems = [];
+ _highlight(thisNode, addItems, text, className);
+ addItems.forEach((obj) =>
+ obj.parent.insertAdjacentElement("beforebegin", obj.target)
+ );
+};
+
+/**
+ * Small JavaScript module for the documentation.
+ */
+const SphinxHighlight = {
+
+ /**
+ * highlight the search words provided in localstorage in the text
+ */
+ highlightSearchWords: () => {
+ if (!SPHINX_HIGHLIGHT_ENABLED) return; // bail if no highlight
+
+ // get and clear terms from localstorage
+ const url = new URL(window.location);
+ const highlight =
+ localStorage.getItem("sphinx_highlight_terms")
+ || url.searchParams.get("highlight")
+ || "";
+ localStorage.removeItem("sphinx_highlight_terms")
+ url.searchParams.delete("highlight");
+ window.history.replaceState({}, "", url);
+
+ // get individual terms from highlight string
+ const terms = highlight.toLowerCase().split(/\s+/).filter(x => x);
+ if (terms.length === 0) return; // nothing to do
+
+ // There should never be more than one element matching "div.body"
+ const divBody = document.querySelectorAll("div.body");
+ const body = divBody.length ? divBody[0] : document.querySelector("body");
+ window.setTimeout(() => {
+ terms.forEach((term) => _highlightText(body, term, "highlighted"));
+ }, 10);
+
+ const searchBox = document.getElementById("searchbox");
+ if (searchBox === null) return;
+ searchBox.appendChild(
+ document
+ .createRange()
+ .createContextualFragment(
+ '' +
+ '' +
+ _("Hide Search Matches") +
+ "
"
+ )
+ );
+ },
+
+ /**
+ * helper function to hide the search marks again
+ */
+ hideSearchWords: () => {
+ document
+ .querySelectorAll("#searchbox .highlight-link")
+ .forEach((el) => el.remove());
+ document
+ .querySelectorAll("span.highlighted")
+ .forEach((el) => el.classList.remove("highlighted"));
+ localStorage.removeItem("sphinx_highlight_terms")
+ },
+
+ initEscapeListener: () => {
+ // only install a listener if it is really needed
+ if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return;
+
+ document.addEventListener("keydown", (event) => {
+ // bail for input elements
+ if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return;
+ // bail with special keys
+ if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return;
+ if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) {
+ SphinxHighlight.hideSearchWords();
+ event.preventDefault();
+ }
+ });
+ },
+};
+
+_ready(SphinxHighlight.highlightSearchWords);
+_ready(SphinxHighlight.initEscapeListener);
diff --git a/docs/build/html/_static/translations.js b/docs/build/html/_static/translations.js
new file mode 100644
index 0000000..24fe21b
--- /dev/null
+++ b/docs/build/html/_static/translations.js
@@ -0,0 +1,61 @@
+Documentation.addTranslations({
+ "locale": "de",
+ "messages": {
+ "%(filename)s — %(docstitle)s": "",
+ "© Copyright %(copyright)s.": "",
+ "© Copyright %(copyright)s.": "",
+ ", in ": ", in ",
+ "About these documents": "\u00dcber dieses Dokument",
+ "Automatically generated list of changes in version %(version)s": "Automatisch generierte Liste der \u00c4nderungen in Version %(version)s",
+ "C API changes": "C API-\u00c4nderungen",
+ "Changes in Version %(version)s — %(docstitle)s": "",
+ "Collapse sidebar": "Seitenleiste einklappen",
+ "Complete Table of Contents": "Vollst\u00e4ndiges Inhaltsverzeichnis",
+ "Contents": "Inhalt",
+ "Copyright": "Copyright",
+ "Created using Sphinx %(sphinx_version)s.": "",
+ "Expand sidebar": "Seitenleiste ausklappen",
+ "Full index on one page": "Gesamtes Stichwortverzeichnis auf einer Seite",
+ "General Index": "Stichwortverzeichnis",
+ "Global Module Index": "Globaler Modulindex",
+ "Go": "Los",
+ "Hide Search Matches": "Suchergebnisse ausblenden",
+ "Index": "Stichwortverzeichnis",
+ "Index – %(key)s": "Stichwortverzeichnis – %(key)s",
+ "Index pages by letter": "Stichwortverzeichnis nach Anfangsbuchstabe",
+ "Indices and tables:": "Verzeichnisse und Tabellen:",
+ "Last updated on %(last_updated)s.": "Zuletzt aktualisiert am %(last_updated)s.",
+ "Library changes": "Bibliotheks-\u00c4nderungen",
+ "Navigation": "Navigation",
+ "Next topic": "N\u00e4chstes Thema",
+ "Other changes": "Andere \u00c4nderungen",
+ "Overview": "\u00dcbersicht",
+ "Please activate JavaScript to enable the search\n functionality.": "Bitte aktivieren Sie JavaScript, wenn Sie die Suchfunktion nutzen wollen.",
+ "Preparing search...": "Suche wird vorbereitet...",
+ "Previous topic": "Vorheriges Thema",
+ "Quick search": "Schnellsuche",
+ "Search": "Suche",
+ "Search Page": "Suche",
+ "Search Results": "Suchergebnisse",
+ "Search finished, found ${resultCount} page(s) matching the search query.": "",
+ "Search within %(docstitle)s": "Suche in %(docstitle)s",
+ "Searching": "Suchen",
+ "Searching for multiple words only shows matches that contain\n all words.": "",
+ "Show Source": "Quellcode anzeigen",
+ "Table of Contents": "Inhaltsverzeichnis",
+ "This Page": "Diese Seite",
+ "Welcome! This is": "Willkommen! Dies ist",
+ "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "Ihre Suche ergab keine Treffer. Bitte stellen Sie sicher, dass alle W\u00f6rter richtig geschrieben sind und gen\u00fcgend Kategorien ausgew\u00e4hlt sind.",
+ "all functions, classes, terms": "alle Funktionen, Klassen, Begriffe",
+ "can be huge": "kann gro\u00df sein",
+ "last updated": "zuletzt aktualisiert",
+ "lists all sections and subsections": "Liste aller Kapitel und Unterkapitel",
+ "next chapter": "n\u00e4chstes Kapitel",
+ "previous chapter": "vorheriges Kapitel",
+ "quick access to all modules": "schneller Zugriff auf alle Module",
+ "search": "suchen",
+ "search this documentation": "durchsuche diese Dokumentation",
+ "the documentation for": "die Dokumentation f\u00fcr"
+ },
+ "plural_expr": "(n != 1)"
+});
\ No newline at end of file
diff --git a/docs/build/html/genindex.html b/docs/build/html/genindex.html
new file mode 100644
index 0000000..32c9749
--- /dev/null
+++ b/docs/build/html/genindex.html
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+ Stichwortverzeichnis — Uniper Dokumentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Uniper
+
+
+
+
+
+
+
+ Stichwortverzeichnis
+
+
+
+
+
+
+
+
+
+
Stichwortverzeichnis
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/index.html b/docs/build/html/index.html
new file mode 100644
index 0000000..b0e8d88
--- /dev/null
+++ b/docs/build/html/index.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+ Welcome to the Uniper documentation! — Uniper Dokumentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Uniper
+
+
+
+
+
+
+
+
+
+Welcome to the Uniper documentation!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/objects.inv b/docs/build/html/objects.inv
new file mode 100644
index 0000000..975bdf9
--- /dev/null
+++ b/docs/build/html/objects.inv
@@ -0,0 +1,6 @@
+# Sphinx inventory version 2
+# Project: Uniper
+# Version:
+# The remainder of this file is compressed using zlib.
+xڅ
+0E"u]pX& $LlAp;Vkށ~X~,ω1ؠ5pW4['<oF3NG`6EKVqje
Y)oP37bY+FVs{P
\ No newline at end of file
diff --git a/docs/build/html/search.html b/docs/build/html/search.html
new file mode 100644
index 0000000..2b79867
--- /dev/null
+++ b/docs/build/html/search.html
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+ Suche — Uniper Dokumentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Uniper
+
+
+
+
+
+
+
+
+
+
+
+ Bitte aktiviere JavaScript, um die Suchfunktion zu nutzen.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js
new file mode 100644
index 0000000..3a467ac
--- /dev/null
+++ b/docs/build/html/searchindex.js
@@ -0,0 +1 @@
+Search.setIndex({"docnames": ["DUTs", "GVLs", "POUs", "index"], "filenames": ["DUTs.rst", "GVLs.rst", "POUs.rst", "index.rst"], "titles": ["DUTs", "GVLs", "POUs", "Welcome to the Uniper documentation!"], "terms": {"enum": 0, "attr": [0, 1, 2], "qualified_only": 0, "strict": 0, "to_string": 0, "error": [0, 1, 2], "int": [0, 2], "1": [0, 1, 2], "off": [0, 2], "2": [0, 1, 2], "ready": [0, 1, 2], "3": [0, 2], "activ": [0, 1, 2], "4": [0, 2], "maintenanc": 0, "5": [0, 2], "testing": 0, "6": 0, "auto_remot": 0, "auto_local": 0, "safety_check": 0, "capacity_t": 0, "manual": [0, 2], "balancing": [0, 1, 2], "cycling": 0, "7": 0, "precharg": 0, "8": 0, "idl": 0, "0": [0, 1, 2], "check_power_command": 0, "wait_for_string_to_be_ready": 0, "wait_for_invert": 0, "enabled": [0, 2], "wait_for_shutdown_discharge_mod": 0, "segment_discharge_with_inverter_don": 0, "segment_discharge_don": 0, "wait_for_error_reset": 0, "9": 0, "undefined": 0, "empty": [0, 1], "charging": [0, 1], "discharging": [0, 1], "full": [0, 2], "charge_started": 0, "charge_ended": 0, "discharge_started": 0, "discharge_ended": 0, "inductiv": 0, "capacitiv": 0, "non": 0, "on": [0, 1, 2], "shutdown": [0, 1, 2], "starting": [0, 2], "struct": [0, 2], "ststartautobutton": 0, "st_hmi_control_button": [0, 1], "ststopautobutton": 0, "disetpointautomatic": 0, "dint": [0, 1, 2], "sthmiinterfaceunit1": 0, "sthmiinterfaceunit2": 0, "sthmiinterfaceunit3": 0, "sthmiinterfaceunit4": 0, "rvoltag": 0, "real": [0, 1, 2], "current": [0, 1, 2], "voltag": [0, 1, 2], "for": [0, 1, 2], "hmi": [0, 1, 2], "rcurrent": [0, 2], "estatus": [0, 2], "status": [0, 1, 2], "xunit1is1500v": 0, "bool": [0, 1, 2], "xunit2is1500v": 0, "xunit3is1500v": 0, "xunit4is1500v": 0, "sthmiinterfacemodule1": 0, "sthmiinterfacemodule2": 0, "sthmiinterfacemodule3": 0, "stinverterdata": [0, 2], "st_sunspec_current_valu": 0, "string": [0, 1, 2], "ststringcurrent": 0, "st_hmi_analog_valu": 0, "invert": [0, 1, 2], "data": [0, 2], "stmodule1voltconf": 0, "stmodule2voltconf": 0, "stmodule3voltconf": 0, "stns11": 0, "st_hmi_analog_motor_data": 0, "pump": [0, 1, 2], "posolyt": [0, 1, 2], "stns21": 0, "negolyt": [0, 1, 2], "stns12": 0, "st_hmi_valve_data": 0, "valv": [0, 2], "stns22": 0, "stp11": 0, "drucksensor": 0, "stp12": 0, "stp21": 0, "stp22": 0, "stt11": 0, "temperatur": [0, 2], "sensor": [0, 2], "tank": [0, 2], "inlet": [0, 2], "stt21": 0, "ste31": 0, "stconfigposolytpump": 0, "st_motor_analog_conf": 0, "stconfignegolytpump": 0, "stconfigposolytvalv": 0, "st_valveconf": 0, "stconfignegolytvalv": 0, "stconfigposolytpressuresegmentinlet": 0, "st_analog_io_conf": [0, 1], "pressur": [0, 2], "segment": [0, 1, 2], "stewlposolytpressuresegmentinlet": 0, "st_analog_ew_level": [0, 1], "stewdposolytpressuresegmentinlet": 0, "st_analog_ew_delays": [0, 1], "stconfignegolytpressuresegmentinlet": 0, "stewlnegolytpressuresegmentinlet": 0, "stewdnegolytpressuresegmentinlet": 0, "stconfigposolytpressuretankinlet": 0, "stewlposolytpressuretankinlet": 0, "stewdposolytpressuretankinlet": 0, "stconfignegolytpressuretankinlet": 0, "stewlnegolytpressuretankinlet": 0, "stewdnegolytpressuretankinlet": 0, "stconfigposolyttemptankinlet": 0, "stewlposolyttemptankinlet": 0, "stewdposolyttemptankinlet": 0, "stconfignegolyttemptankinlet": 0, "stewlnegolyttemptankinlet": 0, "stewdnegolyttemptankinlet": 0, "stconfigvoltagesegment": 0, "stewlvoltagesegment": 0, "stewdvoltagesegment": 0, "rmaxdeltapsegmentinlet": 0, "max": [0, 2], "differenc": [0, 1, 2], "betwe": [0, 1, 2], "and": [0, 2], "pack_mod": 0, "speicherbereich": 0, "welch": 0, "uber": 0, "kontinui": 0, "registerbereich": 0, "geles": 0, "werd": 0, "sollen": 0, "m\u00fcssen": 0, "struktur": 0, "attribut": 0, "angelegt": 0, "Der": 0, "grund": 0, "dass": 0, "twincat": 0, "serv": [0, 2], "beim": 0, "zugriff": 0, "ads": [0, 2], "symbol": 0, "erst": 0, "adress": 0, "anfragt": 0, "davon": 0, "ausgeht": 0, "regist": [0, 2], "hintereinand": 0, "lieg": 0, "Bei": 0, "rein": 0, "variabl": [0, 2], "m\u00fcss": 0, "fall": 0, "kommt": 0, "fehl": 0, "les": 0, "grenz": 0, "hinaus": 0, "stmodbusreg10": 0, "10": [0, 2], "000": [0, 1], "to": [0, 1, 2], "999": 0, "stmodbusreg11": 0, "11": 0, "stmodbusreg12": 0, "12": [0, 1], "btneglow": 0, "bit": [0, 2], "btneghigh": 0, "btnegerror": 0, "btposlow": 0, "btposhigh": 0, "btposerror": 0, "bpinneglow": 0, "bpinneghigh": 0, "bpinnegerror": 0, "bpinposlow": 0, "bpinposhigh": 0, "bpinposerror": 0, "bptankneglow": 0, "bptankneghigh": 0, "13": [0, 1], "bptanknegerror": 0, "14": [0, 1], "bptankposlow": 0, "15": [0, 1], "bptankposhigh": 0, "16": 0, "bptankposerror": 0, "17": 0, "bvlow": 0, "18": 0, "bvhigh": 0, "19": 0, "bverror": 0, "20": 0, "bvalveneg": 0, "21": [0, 2], "bvalvepos": 0, "22": 0, "bpumpneg": 0, "23": 0, "bpumppos": 0, "24": [0, 1], "bleack": 0, "25": 0, "bsafetyintlk": 0, "26": 0, "bestop": 0, "bethercat": 0, "bdcswitchs1": 0, "bdcswitchs2": 0, "berror": 0, "bnotallinauto": 0, "bsafetyintlkstring1": 0, "bsafetyintlkstring2": 0, "analysis": [0, 1, 2], "33": [0, 1, 2], "smanufactur": 0, "32": 0, "char": 0, "byt": 0, "smodelnam": 0, "addr": [0, 1], "016": 0, "sserialnumb": 0, "032": 0, "sbmsversion": 0, "64": 0, "048": 0, "uitotalparallelmemb": 0, "uint": [0, 1, 2], "16bit": 0, "word": [0, 2], "uiactiveparallelmemb": 0, "081": 0, "ebatterystatus": 0, "echargestatus": 0, "001": 0, "uiselfdischargerat": 0, "uimaxallowedsoc": 0, "003": 0, "unit": [0, 1, 2], "uiminallowedsoc": 0, "004": 0, "uicurrentsoc": 0, "005": 0, "uicurrentdod": 0, "006": 0, "uicurrentsoh": 0, "007": 0, "udichargecapacity": 0, "udint": [0, 2], "32bit": 0, "udienergycapacity": 0, "010": 0, "wh": 0, "udimaxchargingactivepow": 0, "012": 0, "w": [0, 1, 2], "udimaxdischargingactivepow": 0, "014": 0, "udimaxavailableinductivereactivepow": 0, "var": [0, 2], "udimaxavailablecapacitivereactivepow": 0, "018": 0, "udichargedenergy": 0, "020": 0, "udiavailableenergy": 0, "022": 0, "ditotalaccurrentphase1": 0, "024": 0, "a": [0, 2], "ditotalaccurrentphase2": 0, "026": 0, "ditotalaccurrentphase3": 0, "028": 0, "disetpointactivepowermirror": 0, "030": 0, "rsetpointcosphimirror": 0, "dicurrentactivepow": 0, "034": 0, "dicurrentreactivepow": 0, "036": 0, "udilifemessag": 0, "038": 0, "lwwarningbitmap": 0, "lword": 0, "040": 0, "lwerrorbitmap": 0, "044": 0, "disetpointactivepow": 0, "rsetpointcosphi": 0, "002": 0, "ereactivepowertyp": 0, "can": [0, 1, 2], "be": [0, 2], "removed": 0, "if": [0, 2], "cosphi": 0, "writt": 0, "pos": [0, 2], "neg": [0, 2], "rang": [0, 2], "wbmswarningactiv": 0, "warning": [0, 2], "flag": [0, 2], "wbmserroractiv": 0, "wstringwarningactiv": 0, "etc": [0, 1, 2], "wstringerroractiv": 0, "wconfirmalarm": 0, "confirm": [0, 2], "alarm": [0, 1, 2], "through": 0, "gvl": 1, "var_global": 1, "constant": [1, 2], "uinumberofstring": [1, 2], "numb": [1, 2], "of": [1, 2], "uinumberofunit": 1, "persistent": [1, 2], "axstringenabled": 1, "array": [1, 2], "stunitconf": [1, 2], "st_unit_conf": [1, 2, 3], "hardwar": [1, 2], "config": 1, "stconfigscscurrent": 1, "scs": [1, 2], "measurement": [1, 2], "setting": [1, 2], "stewlscscurrent": 1, "stewdscscurrent": 1, "rpumpposolytonpow": 1, "general": [1, 2], "pow": [1, 2], "rpumpnegolytonpow": 1, "rpumpposolytdischrgpow": 1, "discharg": [1, 2], "without": 1, "rpumpnegolytdischrgpow": 1, "rpumpshutoffthreshold": 1, "pumps": [1, 2], "shutoff": 1, "threshold": 1, "volt": [1, 2], "rminimumunitvoltag": 1, "minimum": [1, 2], "required": 1, "startup": [1, 2], "rmaximumunitvoltag": 1, "maximum": [1, 2], "fully": 1, "charged": 1, "rdeltaunitvoltageshutdowndischarg": 1, "delta": 1, "valu": [1, 2], "rmaxabsdiffvoltageunitsonmodul": 1, "absolut": 1, "the": [1, 2], "sam": 1, "modul": [1, 2], "rmaxabsdiffvoltagemodulesinstring": 1, "diminimumabspowerforenabl": 1, "command": [1, 2], "enabl": [1, 2], "battery": [1, 2], "watt": 1, "dimaxstringchargingpow": 1, "allowed": [1, 2], "per": 1, "dimaxstringdischargepow": 1, "sinverteripstring1": 1, "ip": [1, 2], "address": 1, "sinverteripstring2": 1, "rabsshutdowndischargepow": 1, "xshutdowndischargewithinvert": 1, "allow": 1, "fast": 1, "rstringfullychargedvoltag": 1, "960": 1, "v": [1, 2], "80": [1, 2], "rstringemptyvoltag": 1, "617v": 1, "is": 1, "needed": 1, "start": [1, 2], "up": 1, "55": 1, "0v": 1, "timunitstartuptim": 1, "tim": [1, 2], "wait": 1, "timunitbalancingstartuptim": 1, "timstringreadytimeout": 1, "all": [1, 2], "not": [1, 2], "timeout": [1, 2], "timisoerrortimeout": 1, "isolation": 1, "rbalancingfactor": 1, "factor": [1, 2], "xdummy": 1, "dummy": 1, "deactivat": 1, "function": 1, "stmodbusemscomm": 1, "st_ems_modbus_interfac": 1, "modbus": [1, 2, 3], "interfac": [1, 2], "custom": 1, "ems": [1, 2], "stbmserrorreg": 1, "st_modbus_reg_13": 1, "awwarningsunitsactiv": 1, "u_unit_warning_regist": [1, 2], "047": 1, "index": [1, 2], "awerrorsunitsactiv": 1, "u_unit_error_regist": [1, 2], "sthmiinterfac": [1, 2], "st_string_hmi_interfac": [1, 2, 3], "stackalarmsbutton": 1, "acknowledg": 1, "button": [1, 2], "stautomaticmodehmi": 1, "st_auto_hmi_interfac": [1, 3], "control": [1, 2], "throught": [1, 2], "erequestedcontrolmod": 1, "e_bms_control_mod": [1, 2, 3], "requested": [1, 2], "mod": [1, 2], "by": 1, "ecurrentcontrolmod": 1, "xcanchangecontrolmod": 1, "chang": [1, 2], "dicurrentbatterypow": 1, "lrchargedpowervaluewh": 1, "lreal": [1, 2], "last": 1, "lrdischargedpowervaluewh": 1, "discharged": [1, 2], "lrlastcycleutilitypowervaluewh": 1, "utility": 1, "ecyclestatus": 1, "e_cycle_status": [1, 3], "cycl": [1, 2], "function_block": 2, "fb_modul": 2, "xemergencystopok": 2, "uifirstunitindex": 2, "xenabl": 2, "xstartbalancing": 2, "xinsafetycheckmod": 2, "xsafetyintlksok": 2, "xoff": 2, "refsthmiinterfac": 2, "xreleaseerror": 2, "xreleaselimiterror": 2, "xreleasemanualmod": 2, "xalltomanualmod": 2, "xconfirmalarm": 2, "rbalancingtargetvoltag": 2, "xinverterenabled": 2, "xleakagesegments12": 2, "xleakagesegments34": 2, "xleakagetank": 2, "uiecstat": 2, "rcurrentvoltag": 2, "xready": 2, "xinshutdowndischargemod": 2, "xshutdowndischargeallowed": 2, "xerror": 2, "xwarning": 2, "xallunitsinautomatic": 2, "rsmallestsegmentvoltag": 2, "rhighestsegmentvoltag": 2, "xbalancingdon": 2, "var_in": 2, "emergency": 2, "stop": 2, "ok": 2, "numbering": 2, "based": 2, "safety": 2, "check": 2, "safetyinterlock": 2, "are": 2, "completely": 2, "st_module_hmi_interfac": [2, 3], "releas": 2, "analog": 2, "io": 2, "limit": 2, "switch": 2, "component": 2, "input": 2, "target": 2, "leakag": 2, "doubl": 2, "from": 2, "copy": 2, "ethercat": 2, "var_out": 2, "during": 2, "sequenc": 2, "one": 2, "has": 2, "automatic": 2, "small": 2, "high": 2, "don": 2, "_fbunit1": 2, "fb_unit": 2, "_fbunit2": 2, "_fbunit3": 2, "_fbunit4": 2, "_xbalanceok": 2, "balanc": 2, "checking": 2, "_xallunitsready": 2, "_fbunitsoutofbalancealarm": 2, "fb_tcalarm": 2, "out": 2, "_fbleackagetankalarm": 2, "leackag": 2, "_fbleackagesegment12alarm": 2, "_fbleackagesegment34alarm": 2, "segemnt": 2, "_fbconnlostalarm": 2, "connection": 2, "lost": 2, "_snam": 2, "nam": 2, "_fbbalancenotoksignal": 2, "fb_releasesignal": 2, "_xecmoduleinop": 2, "xdebug1": 2, "xdebug2": 2, "xdebug3": 2, "xdebug4": 2, "method": 2, "fb_init": 2, "binitretain": 2, "bincopycod": 2, "snam": 2, "true": 2, "retain": 2, "initialized": 2, "warm": 2, "cold": 2, "instanc": 2, "afterward": 2, "get": 2, "moved": 2, "into": 2, "cod": 2, "onlin": 2, "property": 2, "fb_powermet": 2, "xgetenergycount": 2, "sipaddress": 2, "lrenergyfromgrid": 2, "lrenergyintogrid": 2, "xbusy": 2, "75": 2, "umricht": 2, "hilfsenergi": 2, "_fbreadreg": 2, "fb_mbreadreg": 2, "_awwordarray": 2, "_awswapped": 2, "_udierrorid": 2, "_fbgetenergycount": 2, "r_trig": 2, "_xresetenergycount": 2, "_istat": 2, "fb_safety": 2, "xvoltagesinrang": 2, "xpressureinrang": 2, "xtemperaturesinrang": 2, "xreset": 2, "_latchedvoltag": 2, "_latchedpressur": 2, "_latechedtemperatur": 2, "_xerrorlatched": 2, "fb_string": 2, "uistringnumb": 2, "xerrorshutdown": 2, "rpowerinvert": 2, "xresetsafety": 2, "xsafetycomerror": 2, "sinverterip": 2, "xecstatescs": 2, "xisoerrorl1": 2, "xisoerrorl2": 2, "xrepairswitchok": 2, "xsafetyintlkscomponentsok": 2, "xclosedccb": 2, "xdccbop": 2, "xresetsafetydccb": 2, "xallmodulesinautomod": 2, "with": 2, "no": 2, "reset": 2, "communication": 2, "repair": 2, "closed": 2, "plc": 2, "interlock": 2, "signal": 2, "clos": 2, "dc": 2, "circuit": 2, "break": 2, "that": 2, "e_component_status": [2, 3], "_fbmodule1": 2, "_fbmodule2": 2, "_fbmodule3": 2, "_xmoduleerror": 2, "summed": 2, "_xallmodulesready": 2, "_xallmodulesinshutdowndischargemod": 2, "_fbmodulesoutofbalancealarm": 2, "messag": 2, "_fbsafetyinterlocksnotokalarm": 2, "pending": 2, "_fbinverterstartuptimeoutalarm": 2, "_fbdcmainswitchnotclosed": 2, "main": 2, "_fbscsconnlost": 2, "_fbisolationalarm": 2, "isolatio": 2, "_fbsafetyintlktimeoutalarm": 2, "_fbsddclevel": 2, "fb_tcmessag": 2, "stopped": 2, "_fbsdunitthreshold": 2, "_tonresetpulselength": 2, "ton": 2, "result": 2, "puls": 2, "_tonerrordccbnotclosed": 2, "closing": 2, "relais": 2, "delayed": 2, "_fbinvert": 2, "fb_powersupplysunspec": 2, "_rpowerinverterinternal": 2, "internal": 2, "_xenableinvert": 2, "_toninverterstartuptimeout": 2, "fault": 2, "_toninvertershutdownerror": 2, "_toninvertershutdowndelay": 2, "debug": 2, "delay": 2, "_tonsafetyoktimeout": 2, "_fbstringcurrent": 2, "fb_analoginput": 2, "xerrorinvert": 2, "_xreleaselimiterrorsinternal": 2, "_xbalancingdon": 2, "_xenabl": 2, "_xstartbalancing": 2, "_xisoerror": 2, "_fbtonisoerror": 2, "iso": 2, "_rsoc": 2, "soc": 2, "rcapacitywh": 2, "rcapacityah": 2, "_stemp": 2, "fb_umd705": 2, "_xexecut": 2, "_fbreadregist": 2, "fb": 2, "reading": 2, "holding": 2, "_fbwriteregist": 2, "fb_mbwritereg": 2, "writing": 2, "_dilastreset": 2, "status_regist": 2, "stmodbuswarning": 2, "stmodbuserror": 2, "xallcomponentsinauto": 2, "xresetmcb": 2, "configuration": 2, "st_unit_hmi_interfac": [2, 3], "shortag": 2, "workaround": 2, "xvoltagesensoris1500v": 2, "star": 2, "var_in_out": 2, "eunitstat": 2, "mcb": 2, "_timunitstartupwaittim": 2, "condition": 2, "aft": 2, "som": 2, "_fbposolytvalvetankoutlet": 2, "fb_valv": 2, "_fbnegolytvalvetankoutlet": 2, "_fbposolytpumpinlet": 2, "fb_motoranalog": 2, "_fbnegolytpumpinlet": 2, "_fbpressureposolytsegmentinlet": 2, "_fbpressureposolyttankinlet": 2, "_fbpressurenegolytsegmentinlet": 2, "_fbpressurenegolyttankinlet": 2, "_fbtempsensorposolyt": 2, "_fbtempsensornegolyt": 2, "_fbvoltagesegment": 2, "_stposolytvalvetankoutletpintlk": 2, "t_interlock": 2, "outlet": 2, "_stposolytvalvetankoutletpintlkused": 2, "_stposolytvalvetankoutletsintlk": 2, "_stposolytvalvetankoutletsintlkused": 2, "_stnegolytvalvetankoutletpintlk": 2, "_stnegolytvalvetankoutletpintlkused": 2, "_stnegolytvalvetankoutletsintlk": 2, "_stnegolytvalvetankoutletsintlkused": 2, "_stposolytpumpinletpintlk": 2, "_stposolytpumpinletpintlkused": 2, "_stposolytpumpinletsintlk": 2, "_stposolytpumpinletsintlkused": 2, "_stnegolytpumpinletpintlk": 2, "_stnegolytpumpinletpintlkused": 2, "_stnegolytpumpinletsintlk": 2, "_stnegolytpumpinletsintlkused": 2, "_xerroractiv": 2, "_xwarningactiv": 2, "_rshutdowndischargevoltagethreshold": 2, "_xallcomponentsinautomatic": 2, "_fbnotallautomaticalarm": 2, "_fbpressuredifftob": 2, "big": 2, "_fbuniterror": 2, "_tonstartupcheck": 2, "_xenablevoltagelimitcheck": 2, "_xreleasemanualmod": 2, "_xreleasesignaldeltapsegment": 2, "_xdeltapsegmentinlettohigh": 2, "_xenablecheckfordeltapsegmentinlet": 2, "_xerrordeltapsegmentinlet": 2, "_rsetpointposolytpumpinlet": 2, "setpoint": 2, "_rsetpointnegolytpumpinlet": 2, "_tofresetmcb": 2, "tof": 2, "resetting": 2, "5s": 2, "_tonvoltagechecktimeput": 2, "reached": 2, "_rbalancingtargetvoltag": 2, "freezed": 2, "_rtrigswitchtomanualmod": 2, "trigg": 2, "switching": 2, "_rtrigswitchtoautomod": 2, "_tonmanualmod": 2, "_rfilteredpressposolytinlet": 2, "filtered": 2, "_rfilteredpressnegolytinlet": 2, "_rfilteredpressposolyttank": 2, "_rfilteredpressnegolyttank": 2, "_xpumpsready": 2, "xfirstcycl": 2, "indicat": 2, "it": 2, "ise": 2, "first": 2, "program": 2, "_xemergencystopok": 2, "_xshowackemergencystop": 2, "_xreleaseerror": 2, "_xreleaselimitserror": 2, "_xconfirmalarm": 2, "_xenablestring": 2, "_xcanchangemod": 2, "_afbstring": 2, "opc": 2, "ua": 2, "DA": 2, "_xerrorshutdown": 2, "detect": 2, "charg": 2, "_elastchargestatus": 2, "e_charge_status": [2, 3], "_elastbatterystatus": 2, "e_battery_status": [2, 3], "due": 2, "machin": 2, "_istatesafetycheck": 2, "_istatebalancing": 2, "_xstartsafetycheck": 2, "_rautopowerrequ": 2, "auto": 2, "remot": 2, "local": 2, "requ": 2, "_rpowerinvert": 2, "_xnopowerrequested": 2, "zero": 2, "indication": 2, "_tonstartupdelay": 2, "_tonbeginshutdown": 2, "_fbnoautomaticmodealarm": 2, "_fbestopnotok": 2, "_fbethercaterrorstring1": 2, "mssag": 2, "_stecstring1errsi": 2, "fb_tcsourceinfo": 2, "_fbethercaterrorstring2": 2, "_stecstring2errsi": 2, "_xfirstcycl": 2, "tag": 2, "_fbadsread": 2, "adsread": 2, "read": 2, "_timadsreadtim": 2, "_ebmscontrolmod": 2, "bms": 2, "restart": 2, "directly": 2, "_fbups": 2, "fb_s_ups_bapi": 2, "ups": 2, "xsafetyrun": 2, "xsafetyerrack": 2, "xsafetyrestertast": 2, "_xharwareresetbutton": 2, "_xshowerroronbutton": 2, "_tonhardwareresetbutton": 2, "_rthardwareresetbutton": 2, "_xinsafetycheckmod": 2, "_fbbatteryfullmessag": 2, "_fbbatteryemptymessag": 2, "_rsmallestsegmentvoltag": 2, "_rhighestsegmentvoltag": 2, "_fbsafety": 2, "_uiethercatstat": 2, "_wethercatstat": 2, "_xethercatstring1ok": 2, "_xethercatstring2ok": 2, "_xallcomponentstomanualmod": 2, "set": 2, "_fbrtrighardwareack": 2, "rising": 2, "edg": 2, "_modbusdebugt": 2, "st_modbus_reg_11": 2, "_fbstringreadytimeout": 2, "_rstringssumvoltag": 2, "sum": 2, "_rdeltaum": 2, "_arpowerstring": 2, "gvl_config": [2, 3], "_ui": 2, "_xstringsready": 2, "_xstringserroractiv": 2, "_xstringsinschutdowndischargemod": 2, "_xstringsshutdowndischargeallowed": 2, "_xstringsallinautomaticmod": 2, "_xstringsoff": 2, "_xstringsbalancingdon": 2, "_xstringsinautomod": 2, "_rmaxcurrentinverterdcvoltag": 2, "_rmincurrentinverterdcvoltag": 2, "_fbmodbusread": 2, "xdebugt": 2, "_wlength": 2, "49": 2, "_wdebug1": 2, "_wdebug2": 2, "_fbpowermeterpow": 2, "_fbpowermeter24v": 2, "_uinumberofactivestring": 2, "activated": 2, "_xgetpowermeterdata": 2, "sinverteripaddr": 2, "rpow": 2, "rmaxbattpow": 2, "xactiv": 2, "xheartbeatok": 2, "stcurrentvalu": 2, "rreactivepow": 2, "24kw": 2, "heartbeat": 2, "_rpowerinternal": 2, "_iwmaxsf": 2, "started": 2, "reasonabl": 2, "amount": 2, "_toninverterstartup": 2, "convert": 2, "scaling": 2, "_uiwmax": 2, "unscaled": 2, "_rwmax": 2, "scaled": 2, "_iwmaxlimpct": 2, "_ivarpctsf": 2, "reactiv": 2, "percent": 2, "_iwmaxlimpctsf": 2, "reread": 2, "_iwmaxlimpctread": 2, "_rwmaxlimpctreadscaled": 2, "limiting": 2, "_uiinverterstat": 2, "typ": 2, "label": 2, "_iwrtgsf": 2, "_rwrtgscaling": 2, "statemachin": 2, "_uimaxlim": 2, "or": 2, "dissabl": 2, "featur": 2, "_uipcssetoperation": 2, "commanding": 2, "_imaxpowervar": 2, "_imaxvarpct": 2, "controll": 2, "_ierrorinstat": 2, "hold": 2, "which": 2, "occured": 2, "_timpollingdelay": 2, "polling": 2, "_timsetpowerdelay": 2, "_tonpollingtim": 2, "_tonsetpowertim": 2, "_tonhearbeatinctim": 2, "incrementing": 2, "_awcurrentdcvalu": 2, "dca": 2, "dca_sf": 2, "dcv": 2, "dcv_sf": 2, "dcw": 2, "dcw_sf": 2, "efficient": 2, "_awcurrentacvalu": 2, "ac": 2, "w_sf": 2, "hz": 2, "hz_sf": 2, "va": 2, "va_sf": 2, "var_sf": 2, "pf": 2, "pf_sf": 2, "_dwerrorbit": 2, "dword": 2, "_uiresetinvert": 2, "_uiplctoinvertercount": 2, "_uiinvertertoplccount": 2, "_uiinvertertoplccounterold": 2, "_xinverterhbcounterincremented": 2, "incremented": 2, "count": 2, "_fberrorinverteralarm": 2, "_fbheartbeattimeout": 2, "_uisetpowerlimiterrorcount": 2, "_uilastsetpowerlimiterrorcount": 2, "siz": 2, "enum16": 2, "65534": 2, "implemented": 2, "0xffff": 2, "w_max_lim_pct_regist": 2, "throttled": 2, "int16": 2, "32767": 2, "0x8000": 2, "w_max_lim_pct_sf_regist": 2, "sunssf": 2, "w_max_lim_en_regist": 2, "throttleing": 2, "should": 2, "size1": 2, "pcs_alarm_reset_regist": 2, "latched": 2, "uint16": 2, "pcs_set_operation_regist": 2, "w_max_regist": 2, "output": 2, "w_max_sf_regist": 2, "dc_values_start_regist": 2, "w_rtg_regist": 2, "40125": 2, "w_rtg_sf_regist": 2, "40126": 2, "ac_values_start_regist": 2, "var_w_max_pct": 2, "cosin": 2, "angl": 2, "out_pf_set": 2, "40192": 2, "out_pf_set_ena": 2, "40196": 2, "w_max": 2, "var_pct_ena": 2, "limited": 2, "var_pct_sf": 2, "evt_1_regist": 2, "controller_hb": 2, "pcs_hb": 2, "ractdccurrent": 2, "access": 2, "ractdcvoltag": 2, "ractdcpow": 2, "ractaccurrent": 2, "phas": 2, "racttacphaseacurrent": 2, "racttacphasebcurrent": 2, "b": 2, "racttacphaseccurrent": 2, "c": 2, "ractacpow": 2, "ractacfreq": 2, "frequency": 2, "ractapparentpow": 2, "apparent": 2, "ractreactivepow": 2, "ractpowerfactor": 2, "uistatus": 2, "40": 2, "070": 2, "120": 2, "52": 2, "uiid": 2, "model": 2, "uil": 2, "length": 2, "ia": 2, "iapha": 2, "iaphb": 2, "iaphc": 2, "iasf": 2, "uippvphab": 2, "ab": 2, "uippvphbc": 2, "bc": 2, "uippvphca": 2, "ca": 2, "uiphvpha": 2, "AN": 2, "uiphvphb": 2, "bn": 2, "uiphvphc": 2, "cn": 2, "ivsf": 2, "iw": 2, "iwsf": 2, "uihz": 2, "lin": 2, "ihzsf": 2, "iva": 2, "ivasf": 2, "ivar": 2, "ivarsf": 2, "ipf": 2, "ipfsf": 2, "udiwh": 2, "energy": 2, "iwhsf": 2, "uidca": 2, "idcasf": 2, "uidcv": 2, "idcvsf": 2, "idcw": 2, "idcwsf": 2, "itmpcab": 2, "cabinet": 2, "itmpsnk": 2, "heat": 2, "sink": 2, "itmptrn": 2, "transform": 2, "itmpot": 2, "oth": 2, "itmpsf": 2, "wst": 2, "operating": 2, "wstvnd": 2, "vendor": 2, "specific": 2, "dwevt1": 2, "bitmask": 2, "event": 2, "field": 2, "dwevt2": 2, "reserved": 2, "futur": 2, "use": 2, "dwevtvnd1": 2, "defined": 2, "dwevtvnd2": 2, "dwevtvnd3": 2, "dwevtvnd4": 2, "122": 2, "149": 2, "28": 2, "wdertyp": 2, "DER": 2, "devic": 2, "uiwrtg": 2, "continuous": 2, "capability": 2, "uiwrtgsf": 2, "uivartg": 2, "amp": 2, "uivartgsf": 2, "ivarrtgq1": 2, "quadrant": 2, "ivarrtgq2": 2, "ivarrtgq3": 2, "ivarrtgq4": 2, "ivarrtgsf": 2, "uiartg": 2, "rms": 2, "level": 2, "uiartgsf": 2, "ipfrtgq1": 2, "ipfrtgq2": 2, "ipfrtgq3": 2, "ipfrtgq4": 2, "ipfrtgsf": 2, "uiwhrtg": 2, "nominal": 2, "rating": 2, "storag": 2, "uiwhrtgsf": 2, "uiahrrtg": 2, "usabl": 2, "capacity": 2, "uiahrrtgsf": 2, "uimaxchart": 2, "rat": 2, "transf": 2, "uimaxchartesf": 2, "uimaxdischart": 2, "uimaxdischartesf": 2, "wpad": 2, "padding": 2, "i_sunspecstateevent": 2, "powersetpointchanged": 2, "sdescription": 2, "fb_sunspecerrorstat": 2, "fb_sunspecoffstat": 2, "dut": 3, "e_bms_stat": 3, "e_reactive_power_typ": 3, "st_module_volt_conf": 3, "st_string_volt_conf": 3, "gvls": 3, "gvl_modbus": 3, "gvl_scada": 3, "pous": 3, "sunspec": 3}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"dut": 0, "e_battery_status": 0, "e_bms_control_mod": 0, "e_bms_stat": 0, "e_charge_status": 0, "e_cycle_status": 0, "e_reactive_power_typ": 0, "e_component_status": 0, "st_auto_hmi_interfac": 0, "st_module_hmi_interfac": 0, "st_module_volt_conf": 0, "st_string_hmi_interfac": 0, "st_string_volt_conf": 0, "st_unit_hmi_interfac": 0, "st_unit_conf": 0, "modbus": 0, "st_ems_modbus_interfac": 0, "errorwarningregist": 0, "st_dword_unit_error_bitmap": 0, "st_dword_unit_warning_bitmap": 0, "st_word_bms_error_bitmap": 0, "st_word_bms_warning_bitmap": 0, "u_bms_error_regist": 0, "u_bms_warning_regist": 0, "u_unit_error_regist": 0, "u_unit_warning_regist": 0, "holdingregist": 0, "st_modbus_reg_10": 0, "st_modbus_reg_11": 0, "st_modbus_reg_12": 0, "st_modbus_reg_13": 0, "gvls": 1, "gvl_config": 1, "gvl_modbus": 1, "gvl_scada": 1, "pous": 2, "sunspec": 2, "st_sunspec_current_valu": 2, "u_sunspec_error": 2, "modeldata": 2, "st_sunspecinverterthreephas": 2, "st_sunspecnameplaterating": 2, "statepatt": 2, "stateevent": 2, "stat": 2, "welcom": 3, "to": 3, "the": 3, "unip": 3, "documentation": 3, "content": 3}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"DUTs": [[0, "duts"]], "E_BATTERY_STATUS": [[0, "e-battery-status"]], "E_BMS_CONTROL_MODE": [[0, "e-bms-control-mode"]], "E_BMS_STATE": [[0, "e-bms-state"]], "E_CHARGE_STATUS": [[0, "e-charge-status"]], "E_CYCLE_STATUS": [[0, "e-cycle-status"]], "E_REACTIVE_POWER_TYPE": [[0, "e-reactive-power-type"]], "E_COMPONENT_STATUS": [[0, "e-component-status"]], "ST_AUTO_HMI_INTERFACE": [[0, "st-auto-hmi-interface"]], "ST_MODULE_HMI_INTERFACE": [[0, "st-module-hmi-interface"]], "ST_MODULE_VOLT_CONFIG": [[0, "st-module-volt-config"]], "ST_STRING_HMI_INTERFACE": [[0, "st-string-hmi-interface"]], "ST_STRING_VOLT_CONFIG": [[0, "st-string-volt-config"]], "ST_UNIT_HMI_INTERFACE": [[0, "st-unit-hmi-interface"]], "ST_UNIT_CONFIG": [[0, "st-unit-config"]], "Modbus": [[0, "modbus"]], "ST_EMS_MODBUS_INTERFACE": [[0, "st-ems-modbus-interface"]], "ErrorWarningRegisters": [[0, "errorwarningregisters"]], "ST_DWORD_UNIT_ERROR_BITMAP": [[0, "st-dword-unit-error-bitmap"]], "ST_DWORD_UNIT_WARNING_BITMAP": [[0, "st-dword-unit-warning-bitmap"]], "ST_WORD_BMS_ERROR_BITMAP": [[0, "st-word-bms-error-bitmap"]], "ST_WORD_BMS_WARNING_BITMAP": [[0, "st-word-bms-warning-bitmap"]], "U_BMS_ERROR_REGISTER": [[0, "u-bms-error-register"]], "U_BMS_WARNING_REGISTER": [[0, "u-bms-warning-register"]], "U_UNIT_ERROR_REGISTER": [[0, "u-unit-error-register"]], "U_UNIT_WARNING_REGISTER": [[0, "u-unit-warning-register"]], "HoldingRegisters": [[0, "holdingregisters"]], "ST_MODBUS_REG_10": [[0, "st-modbus-reg-10"]], "ST_MODBUS_REG_11": [[0, "st-modbus-reg-11"]], "ST_MODBUS_REG_12": [[0, "st-modbus-reg-12"]], "ST_MODBUS_REG_13": [[0, "st-modbus-reg-13"]], "GVLs": [[1, "gvls"]], "GVL_CONFIG": [[1, "gvl-config"]], "GVL_MODBUS": [[1, "gvl-modbus"]], "GVL_SCADA": [[1, "gvl-scada"]], "POUs": [[2, "pous"]], "Sunspec": [[2, "sunspec"]], "ST_SUNSPEC_CURRENT_VALUES": [[2, "st-sunspec-current-values"]], "U_SUNSPEC_ERROR": [[2, "u-sunspec-error"]], "ModelData": [[2, "modeldata"]], "ST_SunspecInverterThreePhase": [[2, "st-sunspecinverterthreephase"]], "ST_SunspecNameplateRatings": [[2, "st-sunspecnameplateratings"]], "StatePattern": [[2, "statepattern"]], "StateEvents": [[2, "stateevents"]], "States": [[2, "states"]], "Welcome to the Uniper documentation!": [[3, "welcome-to-the-uniper-documentation"]], "Contents:": [[3, null]]}, "indexentries": {}})
\ No newline at end of file
diff --git a/docs/index.rst b/docs/index.rst
new file mode 100644
index 0000000..e235978
--- /dev/null
+++ b/docs/index.rst
@@ -0,0 +1,10 @@
+Welcome to the Uniper documentation!
+=======================================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Contents:
+
+ DUTs
+ GVLs
+ POUs
diff --git a/docs/make.bat b/docs/make.bat
new file mode 100644
index 0000000..dc1312a
--- /dev/null
+++ b/docs/make.bat
@@ -0,0 +1,35 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+ echo.
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
+ echo.installed, then set the SPHINXBUILD environment variable to point
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
+ echo.may add the Sphinx directory to PATH.
+ echo.
+ echo.If you don't have Sphinx installed, grab it from
+ echo.https://www.sphinx-doc.org/
+ exit /b 1
+)
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+
+:end
+popd
diff --git a/docs/source/DUTs.rst b/docs/source/DUTs.rst
new file mode 100644
index 0000000..c1be1d8
--- /dev/null
+++ b/docs/source/DUTs.rst
@@ -0,0 +1,149 @@
+***************************
+DUTs
+***************************
+
+
+E_BATTERY_STATUS
+================================
+
+.. plc:autoenum:: E_BATTERY_STATUS
+
+E_BMS_CONTROL_MODE
+================================
+
+.. plc:autoenum:: E_BMS_CONTROL_MODE
+
+E_BMS_STATE
+================================
+
+.. plc:autoenum:: E_BMS_STATE
+
+E_CHARGE_STATUS
+================================
+
+.. plc:autoenum:: E_CHARGE_STATUS
+
+E_CYCLE_STATUS
+================================
+
+.. plc:autoenum:: E_CYCLE_STATUS
+
+E_REACTIVE_POWER_TYPE
+================================
+
+.. plc:autoenum:: E_REACTIVE_POWER_TYPE
+
+E_COMPONENT_STATUS
+================================
+
+.. plc:autoenum:: E_COMPONENT_STATUS
+
+ST_AUTO_HMI_INTERFACE
+================================
+
+.. plc:autostruct:: ST_AUTO_HMI_INTERFACE
+
+ST_MODULE_HMI_INTERFACE
+================================
+
+.. plc:autostruct:: ST_MODULE_HMI_INTERFACE
+
+ST_MODULE_VOLT_CONFIG
+================================
+
+.. plc:autostruct:: ST_MODULE_VOLT_CONFIG
+
+ST_STRING_HMI_INTERFACE
+================================
+
+.. plc:autostruct:: ST_STRING_HMI_INTERFACE
+
+ST_STRING_VOLT_CONFIG
+================================
+
+.. plc:autostruct:: ST_STRING_VOLT_CONFIG
+
+ST_UNIT_HMI_INTERFACE
+================================
+
+.. plc:autostruct:: ST_UNIT_HMI_INTERFACE
+
+ST_UNIT_CONFIG
+================================
+
+.. plc:autostruct:: ST_UNIT_CONFIG
+
+Modbus
+================================
+
+ST_EMS_MODBUS_INTERFACE
+---------------------------------
+
+.. plc:autostruct:: ST_EMS_MODBUS_INTERFACE
+
+ErrorWarningRegisters
+---------------------------------
+
+ST_DWORD_UNIT_ERROR_BITMAP
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_DWORD_UNIT_ERROR_BITMAP
+
+ST_DWORD_UNIT_WARNING_BITMAP
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_DWORD_UNIT_WARNING_BITMAP
+
+ST_WORD_BMS_ERROR_BITMAP
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_WORD_BMS_ERROR_BITMAP
+
+ST_WORD_BMS_WARNING_BITMAP
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_WORD_BMS_WARNING_BITMAP
+
+U_BMS_ERROR_REGISTER
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autoenum:: U_BMS_ERROR_REGISTER
+
+U_BMS_WARNING_REGISTER
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autoenum:: U_BMS_WARNING_REGISTER
+
+U_UNIT_ERROR_REGISTER
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autoenum:: U_UNIT_ERROR_REGISTER
+
+U_UNIT_WARNING_REGISTER
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autoenum:: U_UNIT_WARNING_REGISTER
+
+HoldingRegisters
+---------------------------------
+
+ST_MODBUS_REG_10
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_MODBUS_REG_10
+
+ST_MODBUS_REG_11
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_MODBUS_REG_11
+
+ST_MODBUS_REG_12
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_MODBUS_REG_12
+
+ST_MODBUS_REG_13
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_MODBUS_REG_13
+
diff --git a/docs/source/GVLs.rst b/docs/source/GVLs.rst
new file mode 100644
index 0000000..8b7df3e
--- /dev/null
+++ b/docs/source/GVLs.rst
@@ -0,0 +1,20 @@
+***************************
+GVLs
+***************************
+
+
+GVL_CONFIG
+================================
+
+.. plc:autogvl:: GVL_CONFIG
+
+GVL_MODBUS
+================================
+
+.. plc:autogvl:: GVL_MODBUS
+
+GVL_SCADA
+================================
+
+.. plc:autogvl:: GVL_SCADA
+
diff --git a/docs/source/POUs.rst b/docs/source/POUs.rst
new file mode 100644
index 0000000..d4c9c3e
--- /dev/null
+++ b/docs/source/POUs.rst
@@ -0,0 +1,69 @@
+***************************
+POUs
+***************************
+
+
+.. plc:autofunctionblock:: FB_Module
+ :members:
+
+.. plc:autofunctionblock:: FB_PowerMeter
+
+.. plc:autofunctionblock:: FB_Safety
+
+.. plc:autofunctionblock:: FB_String
+ :members:
+
+.. plc:autofunctionblock:: FB_UMD705
+
+.. plc:autofunctionblock:: FB_Unit
+ :members:
+
+.. plc:autoprogram:: MAIN
+
+Sunspec
+================================
+
+.. plc:autofunctionblock:: FB_PowerSupplySunspec
+ :members:
+
+ST_SUNSPEC_CURRENT_VALUES
+---------------------------------
+
+.. plc:autostruct:: ST_SUNSPEC_CURRENT_VALUES
+
+U_SUNSPEC_ERROR
+---------------------------------
+
+.. plc:autoenum:: U_SUNSPEC_ERROR
+
+ModelData
+---------------------------------
+
+ST_SunspecInverterThreePhase
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_SunspecInverterThreePhase
+
+ST_SunspecNameplateRatings
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autostruct:: ST_SunspecNameplateRatings
+
+StatePattern
+---------------------------------
+
+StateEvents
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autofunctionblock:: I_SunspecStateEvents
+ :members:
+
+States
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. plc:autofunctionblock:: FB_SunspecErrorState
+ :members:
+
+.. plc:autofunctionblock:: FB_SunspecOffState
+ :members:
+
diff --git a/docs/source/conf.py b/docs/source/conf.py
new file mode 100644
index 0000000..6d179d9
--- /dev/null
+++ b/docs/source/conf.py
@@ -0,0 +1,33 @@
+# Configuration file for the Sphinx documentation builder.
+#
+# For the full list of built-in configuration values, see the documentation:
+# https://www.sphinx-doc.org/en/master/usage/configuration.html
+
+# -- Project information -----------------------------------------------------
+# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
+
+project = 'Uniper'
+copyright = '2025, M.Heisig'
+author = 'M.Heisig'
+
+# -- General configuration ---------------------------------------------------
+# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
+
+extensions = ['plcdoc', "sphinx.ext.autodoc"]
+
+plc_project = 'C:/Users/Public/Documents/uniblu/PLC/PLC.plcproj'
+
+#rst_file_destination = "C:/Users/Public/Documents/uniblu/docs/source/"
+rst_file_destination = ""
+
+templates_path = ['_templates']
+exclude_patterns = []
+
+language = 'de'
+
+# -- Options for HTML output -------------------------------------------------
+# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
+
+html_theme = 'sphinx_rtd_theme'
+html_static_path = ['_static']
+nitpicky = True
diff --git a/docs/source/index.rst b/docs/source/index.rst
new file mode 100644
index 0000000..e235978
--- /dev/null
+++ b/docs/source/index.rst
@@ -0,0 +1,10 @@
+Welcome to the Uniper documentation!
+=======================================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Contents:
+
+ DUTs
+ GVLs
+ POUs