<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Typhoon HIL Forum - Recent questions in Modeling</title>
<link>https://typhoon-hil.com/forum/?qa=questions/modeling</link>
<description>Powered by Question2Answer</description>
<item>
<title>Instability due to coupling challenges.</title>
<link>https://typhoon-hil.com/forum/?qa=566/instability-due-to-coupling-challenges</link>
<description>&lt;p&gt;My microgrid model is not is not working properly because I am having challenges configuring the couplings between elements. The frequency measurement of my PV system is dropping fast and the grid forming diesel generator is severely distorted. Could someone advice me the best way to set the couplings.&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=5160241194910638176&quot; style=&quot;height:318px; width:600px&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=5260083256358341731&quot; style=&quot;height:476px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=566/instability-due-to-coupling-challenges</guid>
<pubDate>Tue, 21 Apr 2026 09:55:26 +0000</pubDate>
</item>
<item>
<title>Instability with Constant Power Load in 2-bus system</title>
<link>https://typhoon-hil.com/forum/?qa=564/instability-with-constant-power-load-in-2-bus-system</link>
<description>&lt;p data-start=&quot;155&quot; data-end=&quot;172&quot;&gt;Hello everyone,&lt;/p&gt;&lt;p data-start=&quot;177&quot; data-end=&quot;368&quot;&gt;I’m comparing load models in a simple 2-bus system using Typhoon HIL. With impedance loads, the system behaves correctly, but when using a constant power load the system becomes unbalanced.&lt;/p&gt;&lt;p data-start=&quot;373&quot; data-end=&quot;481&quot;&gt;At the load node, the power values are not as expected and oscillate between negative and positive values.&lt;/p&gt;&lt;p data-start=&quot;486&quot; data-end=&quot;568&quot;&gt;I’ve checked time step, execution rates, and parameters, but the issue persists.&lt;/p&gt;&lt;p data-start=&quot;573&quot; data-end=&quot;677&quot;&gt;Could this be due to the inherent behavior of constant power loads, or a modeling issue?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-start=&quot;682&quot; data-end=&quot;700&quot;&gt;Thanks in advance.&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=5502273003912742453&quot; style=&quot;height:299px; width:600px&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=11143228942102246412&quot; style=&quot;height:267px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=564/instability-with-constant-power-load-in-2-bus-system</guid>
<pubDate>Mon, 20 Apr 2026 12:20:03 +0000</pubDate>
</item>
<item>
<title>Error with Dynamic Table and Three-phase Variable Load</title>
<link>https://typhoon-hil.com/forum/?qa=559/error-with-dynamic-table-and-three-phase-variable-load</link>
<description>&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; background-color: rgb(21, 21, 23);&quot;&gt;Hello everyone,&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; background-color: rgb(21, 21, 23);&quot;&gt;I&#039;m trying to use a Dynamic Table component to feed a power profile (P and Q) from a CSV file into a Three-phase Variable Load. My goal is to make the load follow a time-varying active and reactive power pattern.&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; background-color: rgb(21, 21, 23);&quot;&gt;&lt;span style=&quot;font-weight:600&quot;&gt;What I did:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;background-color:#151517; color:#f9fafb; font-family:quote-cjk-patch,Inter,system-ui,-apple-system,BlinkMacSystemFont,&amp;quot;Segoe UI&amp;quot;,Roboto,Oxygen,Ubuntu,Cantarell,&amp;quot;Open Sans&amp;quot;,&amp;quot;Helvetica Neue&amp;quot;,sans-serif; margin:16px 0px; padding-left:18px&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 0px !important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;&quot;&gt;CSV file has three columns:&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;time, P, Q&lt;/code&gt;&amp;nbsp;(p.u.).&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 6px;&quot;&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 0px !important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;&quot;&gt;I placed a Dynamic Table and imported the CSV directly (graphical method).&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 6px;&quot;&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 0px !important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;&quot;&gt;I connected the scaled P to&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Pref&lt;/code&gt;&amp;nbsp;and scaled Q to&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Qref&lt;/code&gt;&amp;nbsp;of the load.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 6px;&quot;&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 0px !important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;&quot;&gt;I connected a constant&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;1&lt;/code&gt;&amp;nbsp;to the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Enable&lt;/code&gt;&amp;nbsp;input of the load.&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;margin-top: 6px;&quot;&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 0px !important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;&quot;&gt;I also tried connecting&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Balance_en = 0&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-variant: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;ROC = 0&lt;/code&gt;&amp;nbsp;as suggested in some posts.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; background-color: rgb(21, 21, 23);&quot;&gt;&lt;span style=&quot;font-weight:600&quot;&gt;The problem:&lt;/span&gt;&lt;br&gt;When I try to compile the model, I get a huge list of errors&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; background-color: rgb(21, 21, 23);&quot;&gt;I want to know if it is another method to make an variable load using data from a csv. PLEASE HELP&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=559/error-with-dynamic-table-and-three-phase-variable-load</guid>
<pubDate>Wed, 15 Apr 2026 06:08:34 +0000</pubDate>
</item>
<item>
<title>How to create own carrier waveform generator block for sawtooth or triangular waveforms</title>
<link>https://typhoon-hil.com/forum/?qa=551/carrier-waveform-generator-sawtooth-triangular-waveforms</link>
<description></description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=551/carrier-waveform-generator-sawtooth-triangular-waveforms</guid>
<pubDate>Thu, 26 Mar 2026 07:36:08 +0000</pubDate>
</item>
<item>
<title>Frequency Limitation on Triangular Waveform Generator</title>
<link>https://typhoon-hil.com/forum/?qa=534/frequency-limitation-on-triangular-waveform-generator</link>
<description>Is there any limitation on the Frequency for Triangular Wave generator. Currently I am Using it generate a triangular waveform of 1kHz frequency. However, when I set the frequency to 2 kHz or above, the output becomes clipped instead of triangular.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=534/frequency-limitation-on-triangular-waveform-generator</guid>
<pubDate>Thu, 26 Feb 2026 12:24:29 +0000</pubDate>
</item>
<item>
<title>Issues Using Three-Phase Core Coupling in Parallel Inverter Simulation</title>
<link>https://typhoon-hil.com/forum/?qa=507/issues-using-three-coupling-parallel-inverter-simulation</link>
<description>Hello, I am currently running a parallel operation simulation of two inverters, with a linear resistive load at the output. A three-phase core coupling is added to each inverter (current source on the left side and voltage source on the right side). According to the simulation results, the second inverter’s voltage and current are controlled normally, but the output current of the first inverter cannot be delivered to the load, and its current waveform becomes distorted, although the voltage control is normal. As a result, parallel control cannot be achieved.&lt;br /&gt;
&lt;br /&gt;
If I change the three-phase core coupling configuration to “voltage source on the left side and current source on the right side”, the control performance becomes even worse.&lt;br /&gt;
&lt;br /&gt;
I would like to ask: what is the correct way to use the three-phase core coupling in parallel inverter simulations? Do I need to modify any parameters inside the coupling block? Thank you.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=507/issues-using-three-coupling-parallel-inverter-simulation</guid>
<pubDate>Tue, 02 Dec 2025 06:57:11 +0000</pubDate>
</item>
<item>
<title>What is wrong that I get this warning?</title>
<link>https://typhoon-hil.com/forum/?qa=450/what-is-wrong-that-i-get-this-warning</link>
<description>Bad voltage loop consisting of Idc, Three Phase Inverter1, Vs1 detected. The Basic Electrical.Short Circuit: Three Phase Inverter1.Im_short_dc inside Three Phase Inverter1 is degenerated, for the switch permutation (1 1 1 1 1 1).&lt;br /&gt;
&lt;br /&gt;
Three Phase Inverter modell settings: Internal modulator and fixed carrier frequency, according to the basics tutorial</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=450/what-is-wrong-that-i-get-this-warning</guid>
<pubDate>Mon, 25 Aug 2025 07:17:16 +0000</pubDate>
</item>
<item>
<title>How can I customize any battery cell in the Typhoon HIL simulator?</title>
<link>https://typhoon-hil.com/forum/?qa=431/how-can-customize-any-battery-cell-the-typhoon-hil-simulator</link>
<description>I want to model a non-lithium battery storage system in the Typhoon HIL simulator. For that I need to build the battery cell first, then use it in the battery system. How can I customize the battery cell?</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=431/how-can-customize-any-battery-cell-the-typhoon-hil-simulator</guid>
<pubDate>Wed, 30 Jul 2025 08:23:23 +0000</pubDate>
</item>
<item>
<title>Challenges in Simulating Shaded Photovoltaic IV Curves with Boost Converter in Typhoon HIL</title>
<link>https://typhoon-hil.com/forum/?qa=430/challenges-simulating-shaded-photovoltaic-converter-typhoon</link>
<description>&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Good afternoon, I’m Igor from UFSC.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;We were testing some curves for the Typhoon HIL with a boost converter and, when testing the same thing as in other simulators, we noticed that the curves with shading, generated via CSV, have a certain &quot;problem&quot; when fixing the value of D, where the voltage becomes fixed. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;First, we tested with .ipv files, and the voltage never went above 37V, even after changing the maximum voltage and other parameters of the curve. So, although the curve was drawn as we intended (Image 1), it didn’t work as expected and the voltages were limited.&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;&lt;img alt=&quot;image&quot; src=&quot;https://lh7-rt.googleusercontent.com/docsz/AD_4nXdhpekZW7tgTx-0HbjX8nD2pYhOhjHJySVOH6bOdRhKYCe3-w_ey3ZdhGJHia4Knuxg3oDj578GwTptjPuIFScT8fAw2272K9Z2ZjzZ4YDjGeyxg8HZo-4Xk8wAfARf-tMtINFm3g?key=frSybTJt8jZoXVJBozOVyQ&quot; style=&quot;height:332px; margin-left:0px; margin-top:0px; width:602px&quot;&gt;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Then we tested other possibilities to circumvent the issue, trying to run with .ipvx curves, with curves without shading (Image 2), and it worked perfectly. With the Duty cycle at 0.5 — meaning with an output of 400V it should remain at 200V — it was perfectly stable and surpassed the &quot;limit&quot; of the .ipv.&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;&lt;img alt=&quot;image&quot; src=&quot;https://lh7-rt.googleusercontent.com/docsz/AD_4nXc5ukcfE31Kt0vW3RUx2BM-n_D5jQFE5GqYTTvLcXc_0NC0CS0Cn9rYIJzhewXR806TB-tm19A6V9ThgrjbUrnMEVVPJq8E4M46PSnlXNzH06qjP9KRsJO09oylx3EMXKHsyor6hA?key=frSybTJt8jZoXVJBozOVyQ&quot; style=&quot;height:336px; margin-left:0px; margin-top:0px; width:602px&quot;&gt;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;However, as this wasn’t our goal, we wanted to obtain a curve with shading from 2 modules. We tested with a manually created curve using data from the CSV (Image 3). Even though it wasn’t very accurate, it reached much higher voltages. However, when setting the desired voltage (400V) and applying the curve with D=0.5, the voltage varied significantly — it didn’t remain at 200V, but fluctuated between 150-250V.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;I thought it could be due to the curve being a Normalized IV, but another test with a curve without shading worked perfectly.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;&lt;img alt=&quot;image&quot; src=&quot;https://lh7-rt.googleusercontent.com/docsz/AD_4nXemHL0GMfIrOUyZN1M2Xj5wac8DmLX8ifZW27qnJx3hNYZCWHWn-Pcckg-YZ0_-fXZ_yrlifDvuHXZ-ewdU04aK29Dg7nMs7qEHar3OikKsiW8eYZDkx9ZMuwoIY-WsxcXa4nKuDg?key=frSybTJt8jZoXVJBozOVyQ&quot; style=&quot;height:332px; margin-left:0px; margin-top:0px; width:602px&quot;&gt;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;So we found a temporary solution: we added more than one module to obtain shading in the Boost (Image 4). It worked, but it wasn’t possible to properly visualize it to generate .pdf, .png, or any other type of graph that characterizes the curve and its behavior, like we had with &quot;Photovoltaic&quot; in Scada. We need this for research article purposes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;&lt;img alt=&quot;image&quot; src=&quot;https://lh7-rt.googleusercontent.com/docsz/AD_4nXeW91_Mco7RKtDAmoW-a5AicJcc4ZVdGVNymjT0YR1zyXcx0VtpGa1QPU20QTw1ucIQs8NdjFzZHyee49RBbfU06KDIc3DWhAS24P5lTQqkvcFlHUjF49Mrs70RQpiRDvYu9cayvg?key=frSybTJt8jZoXVJBozOVyQ&quot; style=&quot;height:467px; margin-left:0px; margin-top:0px; width:602px&quot;&gt;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;So our questions are, is there any way to:&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li style=&quot;list-style-type:decimal&quot;&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Generate a .ipvx curve with shading using the Waveform Generator? (in a way that works accurately.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;list-style-type:decimal&quot;&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Make the &quot;Normalized IV&quot; curve I generate via CSV more accurate?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;list-style-type:decimal&quot;&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Plot a graph for the solution of &lt;/span&gt;&lt;em&gt;n&lt;/em&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt; modules in series?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li style=&quot;list-style-type:decimal&quot;&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Generate a .ipv with CSV that works for a wider voltage range?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;The answer to any of these questions could help us improve our work.&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;background-color:transparent; color:#000000; font-family:Arial,sans-serif; font-size:12pt&quot;&gt;Thank you in advance!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=430/challenges-simulating-shaded-photovoltaic-converter-typhoon</guid>
<pubDate>Tue, 29 Jul 2025 07:19:02 +0000</pubDate>
</item>
<item>
<title>why is my C function in Typhoon HIL reading corrupted values despite correct input signals?</title>
<link>https://typhoon-hil.com/forum/?qa=425/function-typhoon-reading-corrupted-despite-correct-signals</link>
<description>&lt;p data-start=&quot;219&quot; data-end=&quot;231&quot;&gt;Hi everyone,&lt;/p&gt;&lt;p data-start=&quot;233&quot; data-end=&quot;421&quot;&gt;I&#039;m working on a model that uses a C function to generate switching pulses. The function receives the necessary inputs, including measured current values that have been Clarke-transformed.&lt;/p&gt;&lt;p data-start=&quot;423&quot; data-end=&quot;751&quot;&gt;The issue I&#039;m facing is that the switching pulses behave incorrectly — they seem erratic and don&#039;t follow the expected pattern. After some debugging, I found that the current values entering the C function appear to be &lt;strong data-start=&quot;642&quot; data-end=&quot;661&quot;&gt;in the millions&lt;/strong&gt;, even though the probe reading right before the C block shows a maximum of about &lt;strong data-start=&quot;743&quot; data-end=&quot;750&quot;&gt;2 A&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p data-start=&quot;753&quot; data-end=&quot;871&quot;&gt;This drastic difference in scale is clearly affecting the control algorithm, resulting in invalid switching decisions.&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;p data-start=&quot;1027&quot; data-end=&quot;1125&quot;&gt;I&#039;m happy to share my model or files if needed. Any help or guidance would be greatly appreciated!&lt;/p&gt;&lt;p data-start=&quot;753&quot; data-end=&quot;871&quot;&gt;&lt;/p&gt;&lt;p data-start=&quot;1127&quot; data-end=&quot;1145&quot;&gt;Thanks in advance.&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=425/function-typhoon-reading-corrupted-despite-correct-signals</guid>
<pubDate>Mon, 21 Jul 2025 06:18:47 +0000</pubDate>
</item>
<item>
<title>Request to Restore Original IEEE 13-Node Feeder Example</title>
<link>https://typhoon-hil.com/forum/?qa=419/request-to-restore-original-ieee-13-node-feeder-example</link>
<description>&lt;p data-start=&quot;129&quot; data-end=&quot;145&quot;&gt;Hi,&lt;/p&gt;&lt;p data-start=&quot;147&quot; data-end=&quot;260&quot;&gt;I accidentally &lt;strong data-start=&quot;162&quot; data-end=&quot;212&quot;&gt;overwrote the IEEE 13-node test feeder example&lt;/strong&gt; and would like to restore the original version.&lt;/p&gt;&lt;p data-start=&quot;262&quot; data-end=&quot;386&quot;&gt;Could you please send me the &lt;strong data-start=&quot;291&quot; data-end=&quot;315&quot;&gt;original &lt;code data-start=&quot;302&quot; data-end=&quot;308&quot;&gt;.tse&lt;/code&gt; file&lt;/strong&gt; or let me know how to reset the default examples without reinstalling?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=419/request-to-restore-original-ieee-13-node-feeder-example</guid>
<pubDate>Fri, 11 Jul 2025 19:01:52 +0000</pubDate>
</item>
<item>
<title>Why am I getting a different response between real time simulation and VHIL? Also between 2024 and 2025 Typhoon versions</title>
<link>https://typhoon-hil.com/forum/?qa=383/getting-different-response-between-simulation-between-versions</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;Hi,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;I am working on a Typhoon HIL simulation: it consists on a DAB converter in Open Loop: file attached to this message.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;It was working properly in real time simulation as shown in the next pictures with Typhoon version 2024. Since there is a newer version 2025, real time simulation in version 2024&amp;nbsp;is not running anymore: only in virtual HIL and it continues working correctly.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;When running the same simulation in real time but in version 2025, the pictures do not match with the proper DAB behavior as before, on version 2024. Only in virtual HIL it seems a more similar behavior and I do not understand why. I have compared Typhoon configuration parameters between versions in order to find any difference but it seems similar.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Arial,sans-serif; font-size:10pt&quot;&gt;So I have two questions: is possible that simulation works different between versions? Is possible that simulation works different with real time or virtual HIL?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=15731962452753511185&quot; style=&quot;height:279px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=6074658002775840647&quot; style=&quot;height:284px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=383/getting-different-response-between-simulation-between-versions</guid>
<pubDate>Mon, 05 May 2025 08:08:13 +0000</pubDate>
</item>
<item>
<title>HIL SCADA Debugging c functions</title>
<link>https://typhoon-hil.com/forum/?qa=363/hil-scada-debugging-c-functions</link>
<description>&lt;p&gt;My model consists of a dozen c functions. How do I efficiently debug errors like:&amp;nbsp;&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;white-space-collapse: preserve; color: rgb(0, 0, 0); font-size: medium; margin: 0px;&quot;&gt;&lt;span style=&quot;color:#ff0000&quot;&gt;&#039;F_chain&#039; undeclared (line: 4066)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space-collapse: preserve; color: rgb(0, 0, 0); font-size: medium; margin: 0px;&quot;&gt;&lt;span style=&quot;color:#ff0000&quot;&gt;Please, make the needed corrections and restart the compilation.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space-collapse: preserve; color: rgb(0, 0, 0); font-size: medium; margin: 0px;&quot;&gt;&lt;span style=&quot;color:#ff0000&quot;&gt;Compilation process interrupted.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space-collapse: preserve; color: rgb(0, 0, 0); font-size: medium; margin: 0px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;white-space-collapse: preserve; color: rgb(0, 0, 0); font-size: medium; margin: 0px;&quot;&gt;I have found the error of course by going through all the functions. My question is where can I find the file with this line 4066 to know exactly where the error is?&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=363/hil-scada-debugging-c-functions</guid>
<pubDate>Wed, 26 Feb 2025 09:02:45 +0000</pubDate>
</item>
<item>
<title>HIL SCADA / Code Editor / Control Commands</title>
<link>https://typhoon-hil.com/forum/?qa=360/hil-scada-code-editor-control-commands</link>
<description>Why am I able to use the Control Commands section in the Code Editor with particular SCADA elements and not with others?&lt;br /&gt;
&lt;br /&gt;
e.g., When using a &amp;#039;Slider macro widget&amp;#039; I can use the Control Commands section, while with the &amp;#039;Digital display widget&amp;#039; the Control Commands are greyed out?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=360/hil-scada-code-editor-control-commands</guid>
<pubDate>Mon, 24 Feb 2025 08:41:06 +0000</pubDate>
</item>
<item>
<title>Microgrid library / Generic Elements / Unconnected ports</title>
<link>https://typhoon-hil.com/forum/?qa=357/microgrid-library-generic-elements-unconnected-ports</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
A number of Generic modeling elements, e.g., &amp;#039;Variable Load (Generic)&amp;#039;, along with associated UI, etc., are present under the Microgrid library in the Schematic Editor. Obviously, this is the state-of-the-art modeling approach currently followed at Typhoon HIL.&lt;br /&gt;
&lt;br /&gt;
None of these Generic elements is available in &amp;#039;single-phase&amp;#039; mode. Given that &amp;#039;warnings&amp;#039; and/or &amp;#039;errors&amp;#039; may arise due to the presence of unconnected ports, is it advisable to use these modeling elements to emulate &amp;#039;single-phase&amp;#039; mode, i.e., connect one of the phases and the neutral to the rest of the model/circuit, according to modeling needs?&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=357/microgrid-library-generic-elements-unconnected-ports</guid>
<pubDate>Fri, 21 Feb 2025 16:22:56 +0000</pubDate>
</item>
<item>
<title>How to create a variable frequency rectangular signal, frequency value given by signal in model?</title>
<link>https://typhoon-hil.com/forum/?qa=337/create-variable-frequency-rectangular-signal-frequency-signal</link>
<description>- frequency given by signal in Schematic Editor, not in SCADA&lt;br /&gt;
&lt;br /&gt;
- constant amplitude and offset&lt;br /&gt;
&lt;br /&gt;
- only signal processing blocs, use of electrical circuit should be avoided&lt;br /&gt;
&lt;br /&gt;
Thank you for your help.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=337/create-variable-frequency-rectangular-signal-frequency-signal</guid>
<pubDate>Tue, 11 Feb 2025 08:50:01 +0000</pubDate>
</item>
<item>
<title>How can I use standard headers like time.h? How do I know which libraries are pre-installed?</title>
<link>https://typhoon-hil.com/forum/?qa=311/standard-headers-like-time-know-which-libraries-installed</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I want to generate a random number at startup of the VHIL. For that I want a random seed. However I was not able to use srand(time(NULL)).&lt;/p&gt;&lt;p&gt;What is the alternative to #include &amp;lt;time.h&amp;gt; in the schematic editor?&lt;/p&gt;&lt;p&gt;How can I know thich libraries are already installed?&lt;/p&gt;&lt;p&gt;Then I also have a more genral questions to the c-functions. How to debug? &quot;Exception occured: ... please make the needed correction...&quot; is not helping.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance! The help is appriciated a lot.&lt;/p&gt;&lt;p&gt;Best,&lt;/p&gt;&lt;p&gt;Fabian&lt;/p&gt;&lt;p&gt;&amp;lt;!--StartFragment--&amp;gt;&amp;lt;!--EndFragment--&amp;gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=311/standard-headers-like-time-know-which-libraries-installed</guid>
<pubDate>Thu, 23 Jan 2025 13:20:30 +0000</pubDate>
</item>
<item>
<title>Equivalent of Simulink &quot;Weighted Sample Time&quot; block element in Typhoon HIL Control Centre</title>
<link>https://typhoon-hil.com/forum/?qa=309/equivalent-simulink-weighted-sample-element-typhoon-control</link>
<description>Hello community,&lt;br /&gt;
&lt;br /&gt;
I am building from scratch a control logic in Typhoon HIL control center (THCC) having as a basis a Simulink model.&lt;br /&gt;
&lt;br /&gt;
I am encountering an issue with a block element that is not present in THCC. The block element is called &amp;quot;Weighted Sample Time&amp;quot; and it&amp;#039;s used in the following cases: &amp;quot;Add, subtract, multiply or divide the input signal by weighted sample time or just output weighted sample time or weighted sample rate.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Any suggestion on how to deal with this issue would be highly appreciated.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=309/equivalent-simulink-weighted-sample-element-typhoon-control</guid>
<pubDate>Wed, 22 Jan 2025 11:59:00 +0000</pubDate>
</item>
<item>
<title>Extracting Positive and Negative Sequence Control for Grid Fault Conditions</title>
<link>https://typhoon-hil.com/forum/?qa=298/extracting-positive-negative-sequence-control-conditions</link>
<description></description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=298/extracting-positive-negative-sequence-control-conditions</guid>
<pubDate>Thu, 09 Jan 2025 07:22:27 +0000</pubDate>
</item>
<item>
<title>correct procedure for adding mosfet data for loss analysis?</title>
<link>https://typhoon-hil.com/forum/?qa=276/correct-procedure-for-adding-mosfet-data-for-loss-analysis</link>
<description>&lt;p&gt;wanted to perform&amp;nbsp;MOSFET&amp;nbsp;(&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.wolfspeed.com/products/power/sic-mosfets/1200v-silicon-carbide-mosfets/c3m0075120d/&quot;&gt;C3M0075120D&lt;/a&gt; Wolfspeed )loss analysis on a converter model. the xml file is available from manufacturers&#039; side and the similar model was also used in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.bing.com/ck/a?!&amp;amp;&amp;amp;p=f274d02be832093200f3ff1e65c7564d28157c52bc8b16a42c0d756f6a1d4f96JmltdHM9MTczNDA0ODAwMA&amp;amp;ptn=3&amp;amp;ver=2&amp;amp;hsh=4&amp;amp;fclid=368ac3fb-0f61-6e01-1f0b-d6af0e7c6f8e&amp;amp;u=a1L3ZpZGVvcy9yaXZlcnZpZXcvcmVsYXRlZHZpZGVvP3E9bW9zZmV0K2xvc3MrY2FsY3VsYXRpb24rdHlwaG9vbiZtaWQ9NDMzMUI1Rjc0NjI5NEEzQjRDMkI0MzMxQjVGNzQ2Mjk0QTNCNEMyQiZGT1JNPVZJUkU&amp;amp;ntb=1&quot;&gt;tutorial &lt;/a&gt;video of MOSFET loss calculation.still not able to populate the parameter columns on addition of xml file. where can be the issue.&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Jeeva&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=276/correct-procedure-for-adding-mosfet-data-for-loss-analysis</guid>
<pubDate>Fri, 13 Dec 2024 11:29:05 +0000</pubDate>
</item>
<item>
<title>MMC design using carrier phase shifting control</title>
<link>https://typhoon-hil.com/forum/?qa=267/mmc-design-using-carrier-phase-shifting-control</link>
<description>&lt;p&gt;&lt;span style=&quot;font-family:&amp;quot;Helvetica Neue&amp;quot;,Helvetica,Arial,sans-serif; font-size:14px&quot;&gt;I&#039;m trying to implement MMC as per the carrier phase shifting control. The triangular waveform generation has a phase_delay variable which is a vector and the output of the block should be a vector. But it is creating an error of dimension mismatch in each of the blocks named PWMa1. Other blocks named a2, b1, b2, c1 and c2 are the same copy of a1. I&#039;m attaching the typhoon file. Can you help me with this error?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=3752233731541356911&quot;&gt;File&lt;/a&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=267/mmc-design-using-carrier-phase-shifting-control</guid>
<pubDate>Tue, 10 Dec 2024 14:29:24 +0000</pubDate>
</item>
<item>
<title>Ready-made models</title>
<link>https://typhoon-hil.com/forum/?qa=244/ready-made-models</link>
<description>Hello All,&lt;br /&gt;
&lt;br /&gt;
My main goal is to develop and test an Energy Management System for an energy community.&lt;br /&gt;
&lt;br /&gt;
I would like to know if there are ready-made simple models e.g., for a residential consumer/prosumer, an EV, etc., that I can use for creating an energy community, according to the specifications that I was given. I want to avoid developing these models from scratch since my main goal is to develop an EMS and not the models for each of the energy community participants (residential consumer, PV, small wind generator, EV, etc.). &lt;br /&gt;
&lt;br /&gt;
Would be grateful to receive some relevant feedback.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=244/ready-made-models</guid>
<pubDate>Mon, 25 Nov 2024 12:17:35 +0000</pubDate>
</item>
</channel>
</rss>