<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Typhoon HIL Forum - Recent questions and answers in Modeling</title>
<link>https://typhoon-hil.com/forum/?qa=qa/modeling</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: Frequency Limitation on Triangular Waveform Generator</title>
<link>https://typhoon-hil.com/forum/?qa=534/frequency-limitation-on-triangular-waveform-generator&amp;show=535#a535</link>
<description>Hi Rupa,&lt;br /&gt;
&lt;br /&gt;
What&amp;#039;s the execution rate that you&amp;#039;re using? Smoothness of the triangle (ramp) will heavily depend on that, as small incremental steps are done at that rate.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=534/frequency-limitation-on-triangular-waveform-generator&amp;show=535#a535</guid>
<pubDate>Thu, 26 Feb 2026 15:40:18 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=510#a510</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I recommend you 2 ways:&lt;br /&gt;
Reviewing the Recommended coupling page in Typhoon Documentationas in the previous answer given. Especially with series or parallel connected inverters.&lt;br /&gt;
&lt;br /&gt;
Second, try to add the snubbers, maybe you only finally need a resistor and not the full one, because without snubbers you can have great distortions than change the results from what was expected.&lt;br /&gt;
&lt;br /&gt;
Hope, this could work.&lt;br /&gt;
Kind regards.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=507/issues-using-three-coupling-parallel-inverter-simulation&amp;show=510#a510</guid>
<pubDate>Mon, 22 Dec 2025 15:21:54 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=451#a451</link>
<description>That warning tells you that, in case you short-circuit the inverter (switch permutation where all switches are closed), you will have a topological conflict between the switches and the voltage source of the DC link. Since you will probably never short-circuit your inverter, that will never actually happen. If you want to remove that ugly warning, you can just place some resistor in series with the voltage source. Even 1uOhm will remove the warning.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=450/what-is-wrong-that-i-get-this-warning&amp;show=451#a451</guid>
<pubDate>Mon, 25 Aug 2025 07:20:38 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=444#a444</link>
<description>&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;Hi Igor,&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;The Normalized IV curve type is better suited for voltage and current scaling, because you can specify the values of open-circuit voltage Voc and short-circuit current Isc. The .ipv file format is more suitable in cases where you do not need to modify the data set imported from the CSV file.&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;In the Image 3 of a Normalized IV curve that you shared, the IV characteristic, which is colored in blue, is not monotonically decreasing.&amp;nbsp;There are multiple voltage values that correspond to a single current value. Maybe that is the cause of the voltage oscillations you observed.&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;Perhaps you specified the voltage and power data sets in the CSV file instead of the voltage and current data sets, because the shape of the IV curve in Image 3 usually corresponds to a power-voltage curve with shading.&amp;nbsp;The first column is your CSV file is used for voltage data points, and the second column is used for current data points.&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;For the solution with &lt;em&gt;n&lt;/em&gt; modules, there is no support available to show a single IV curve for multiple modules connected in series using the preview functionality in SCADA.&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;Please find attached an example of a CSV file and the corresponding Normalized IV file for a shaded curve.&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=9303178631793787982&quot;&gt;photovoltaic_panel_shaded.csv&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=10882416649727951042&quot;&gt;photovoltaic_panel_shaded.ipvx&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=430/challenges-simulating-shaded-photovoltaic-converter-typhoon&amp;show=444#a444</guid>
<pubDate>Thu, 14 Aug 2025 06:18:19 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=440#a440</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Currently Typhoon HIL has two components which you may find useful.&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. The &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/battery.html&quot;&gt;battery&lt;/a&gt;&amp;nbsp;component focused on easy parametrization and representation of multiple battery types. However, if you want to model each cell individually you could use the second option.&lt;/p&gt;&lt;p&gt;2. The&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/battery_cell.html&quot;&gt;battery cell&lt;/a&gt;&amp;nbsp;component which&amp;nbsp;features flexible parameterization of a wide array of properties. You could then combine multiple cells to model your battery.&lt;/p&gt;&lt;p&gt;You can check if these components are helpful in the documentation I linked above.&lt;/p&gt;&lt;p&gt;Best regards.&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=431/how-can-customize-any-battery-cell-the-typhoon-hil-simulator&amp;show=440#a440</guid>
<pubDate>Wed, 06 Aug 2025 12:14:46 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=426#a426</link>
<description>Hi Gordon,&lt;br /&gt;
&lt;br /&gt;
Can you double-check the data type of your input terminal of the C function? One thing that comes to my mind is that maybe the terminal is misconfigured to integer data type.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=425/function-typhoon-reading-corrupted-despite-correct-signals&amp;show=426#a426</guid>
<pubDate>Mon, 21 Jul 2025 08:10:16 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=421#a421</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
what I recommend to all customers is to create a specific folder on their HD to copy the models they want to modify / test / update... I made this a long time ago when I was using NI softares and it helped me several times.&lt;br /&gt;
&lt;br /&gt;
Using like this, even if you download a new revision of THCC, you will always have your examples with your modifications at the same location.&lt;br /&gt;
&lt;br /&gt;
So in case of troubles because you made too much modifications, i made it several times to &amp;quot;adapt a model&amp;quot;, you will always be able to recover the right example.</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=419/request-to-restore-original-ieee-13-node-feeder-example&amp;show=421#a421</guid>
<pubDate>Fri, 11 Jul 2025 20:37:54 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=392#a392</link>
<description>&lt;p&gt;Hi Pablo,&lt;/p&gt;&lt;p&gt;As you can check in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://subscription.typhoon-hil.com/download/get/docs/release_notes.html&quot;&gt;Typhoon HIL Control Center release notes&lt;/a&gt;, from the THCC version 2024.3, the individual IGBT component is expanded with the &lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;LC switch model. This option is now set as default, unlike in the previous versions where ideal switch model was the only one available. To match the behavior of previous versions, you should check &quot;&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/igbt.html#doc__igbt_model&quot;&gt;Use ideal switch model&lt;/a&gt;&quot;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;&amp;nbsp;option in Advanced tab.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;However, as already indicated in other responses, using individual IGBT components for real-time simulation is suboptimal in terms of simulation accuracy and FPGA resource utilization.&amp;nbsp;&lt;/span&gt;Specifically&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;, if you use individual ideal IGBT components, the model will have a&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/topics/converters.html#:~:text=The%20weight%20of%20a%20converter%20defines%20how%20many%20blocks%20can%20be%20run%20by%20a%20single%20processing%20core%20(SPC)&quot;&gt;converter weight&lt;/a&gt; of 8, which exceeds the capacity of a&amp;nbsp;single FPGA core.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;To improve performance and efficiency, I suggest considering one of the following approaches:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;1. Dedicated&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/documentation/typhoon-hil-software-manual/References/dab_converter.html&quot;&gt;Dual Active Bridge&lt;/a&gt;&amp;nbsp;component.&lt;br&gt;This component is especially recommended for applications with&amp;nbsp;relatively high switching frequency (≥100 kHz). The limitation is that it is supported only in a few standard firmware configurations (e.g., for HIL404, it is C5). You can refer to the relevant example model in the THCC installation folder (..examples\models\general power electronics\dab dc-dc converter solver&lt;/span&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,&amp;quot;Segoe UI&amp;quot;,Roboto,&amp;quot;Helvetica Neue&amp;quot;,&amp;quot;Noto Sans&amp;quot;,&amp;quot;Liberation Sans&amp;quot;,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;,&amp;quot;Segoe UI Symbol&amp;quot;,&amp;quot;Noto Color Emoji&amp;quot;&quot;&gt;).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,&amp;quot;Segoe UI&amp;quot;,Roboto,&amp;quot;Helvetica Neue&amp;quot;,&amp;quot;Noto Sans&amp;quot;,&amp;quot;Liberation Sans&amp;quot;,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;,&amp;quot;Segoe UI Symbol&amp;quot;,&amp;quot;Noto Color Emoji&amp;quot;&quot;&gt;2. 4x&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/documentation/typhoon-hil-software-manual/References/igbt_leg.html&quot;&gt;Half Bridge&lt;/a&gt; components with Switch-level GDS oversampling option enabled&amp;nbsp;&lt;br&gt;This option provides lower fidelity at high switching frequency, but is supported on more firmware configurations (e.g., for HIL404, C3 and C5).&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;The corresponding example model can be found here&amp;nbsp;(..examples\models\general power electronics\dab standard&lt;/span&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,&amp;quot;Segoe UI&amp;quot;,Roboto,&amp;quot;Helvetica Neue&amp;quot;,&amp;quot;Noto Sans&amp;quot;,&amp;quot;Liberation Sans&amp;quot;,Arial,sans-serif,&amp;quot;Apple Color Emoji&amp;quot;,&amp;quot;Segoe UI Emoji&amp;quot;,&amp;quot;Segoe UI Symbol&amp;quot;,&amp;quot;Noto Color Emoji&amp;quot;&quot;&gt;).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#212529; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji&quot;&gt;3. 2x&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/documentation/typhoon-hil-software-manual/References/single-phase_two-level_inverter.html&quot;&gt;Single Phase Inverter&lt;/a&gt; components&amp;nbsp;&lt;br&gt;Out of previous 2 option this one will give you the worse results, especially in combinations with high-switching&amp;nbsp;frequency, non-zero dead time or small phase shift. The only advantage of this modeling approach is that it can be applied on any firmware configuration, so it may be suitable if you can&#039;t change firmware configuration for some reason.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Best regards,&lt;br&gt;Dusan&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=383/getting-different-response-between-simulation-between-versions&amp;show=392#a392</guid>
<pubDate>Mon, 12 May 2025 13:01:28 +0000</pubDate>
</item>
<item>
<title>Answered: HIL SCADA Debugging c functions</title>
<link>https://typhoon-hil.com/forum/?qa=363/hil-scada-debugging-c-functions&amp;show=366#a366</link>
<description>&lt;p&gt;Hi Fabian,&lt;/p&gt;&lt;p&gt;It&#039;s possible that you used&amp;nbsp;&lt;em&gt;F_chain&lt;/em&gt;&amp;nbsp;as a variable in one of your functions but it wasn&#039;t present among the defined variables. You can try finding in which exact function this variable was used either manually, or by searching through the .tse file which you can open in text editor.&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=363/hil-scada-debugging-c-functions&amp;show=366#a366</guid>
<pubDate>Wed, 05 Mar 2025 10:24:19 +0000</pubDate>
</item>
<item>
<title>Answered: HIL SCADA / Code Editor / Control Commands</title>
<link>https://typhoon-hil.com/forum/?qa=360/hil-scada-code-editor-control-commands&amp;show=361#a361</link>
<description>&lt;p&gt;Hi&amp;nbsp;Ioannis,&lt;/p&gt;&lt;p&gt;In the HIL API documentation, next to the each API function, you have the&amp;nbsp;&quot;Availability&quot; section with the three contexts:&lt;br&gt;1.&amp;nbsp;standalone scripts&lt;br&gt;2. macro scripts signal&lt;br&gt;3.&amp;nbsp;monitoring expressions&lt;/p&gt;&lt;p&gt;Depending on the nature of the specific API function, some of the contexts may not be available.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regarding your specific question about why are certain API functions available in the Action widgets, and not in the Monitoring widgets:&amp;nbsp;from my experience, this is usually the case for the functions that actively modify the simulation (functions as such as&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-api-documentation/hil_api.html#typhoon.api.hil.set_scada_input_value&quot;&gt;set_scada_input_value()&lt;/a&gt;).&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the other had, functions that only read from the simulation (such as&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-api-documentation/hil_api.html#typhoon.api.hil.read_analog_signal&quot;&gt;read_analog_signal()&lt;/a&gt;) are allowed in all widget types.&lt;/p&gt;&lt;p&gt;In my opinion, this distinction also makes sense in terms of clear SCADA panel organization.&amp;nbsp;For example, If I see that my SCADA panel is periodically sending certain command, I would assume that it is done in the&amp;nbsp;Macro widget, rather than in the Digital Display widget. If any widget is allowed to send commands, it may become tricky to debug complex SCADA panels.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=360/hil-scada-code-editor-control-commands&amp;show=361#a361</guid>
<pubDate>Mon, 24 Feb 2025 09:28:41 +0000</pubDate>
</item>
<item>
<title>Answered: Microgrid library / Generic Elements / Unconnected ports</title>
<link>https://typhoon-hil.com/forum/?qa=357/microgrid-library-generic-elements-unconnected-ports&amp;show=358#a358</link>
<description>Hello Ioannis,&lt;br /&gt;
&lt;br /&gt;
If the generic models are built for three-phase applications, it doesn&amp;#039;t make sense to use it on a single-phase simulation. You&amp;#039;ll probably get misleading behavior.&lt;br /&gt;
&lt;br /&gt;
In the examples of THCC you have a single-phase grid connected microinverter and a single-phase PV inverter that might be useful as starting point.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Ricardo</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=357/microgrid-library-generic-elements-unconnected-ports&amp;show=358#a358</guid>
<pubDate>Fri, 21 Feb 2025 16:29:02 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=347#a347</link>
<description>&lt;p&gt;Hi Fabian,&lt;/p&gt;&lt;p&gt;You can check the C language libraries available in the C function component in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://ticket.typhoon-hil.com/kb/faq.php?id=122#:~:text=All%20constants%20and%20functions%20from%20the%20following%20libraries%C2%A0%C2%A0can%20be%20used%20in%20the%20C%20Function%20Language%3A%0A%2D%C2%A0%3Cmath.h%3E%2C%0A%2D%C2%A0%3Cstdint.h%3E%2C%0A%C2%A0%2D%3Cstring.h%3E%2C%0A%2D%C2%A0%3Cstdio.h%3E&quot;&gt;following FAQ article&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;For generated random numbers in signal processing I suggest you using&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/repeating_discrete_sequence.html&quot;&gt;Repeating Sequence Discrete&lt;/a&gt;&amp;nbsp;component and defining&amp;nbsp;&quot;Vector of output values&quot; property in the python code. Here is an example how you can create a list of 10,000 random numbers between 0 and 1:&lt;/p&gt;&lt;pre&gt;import random
random_numbers = [random.random() for _ in range(10000)]&lt;/pre&gt;&lt;p&gt;With an execution rate of 100e-6, this will generate 1s of random numbers, after which the signal will start repeating. I believe this could be a suitable alternative for generating random numbers in C code.&lt;/p&gt;&lt;p&gt;You can find the model illustrating this approach in the attachment.&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=6634693010408967595&quot;&gt;python random generator.tse&lt;/a&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&amp;show=347#a347</guid>
<pubDate>Fri, 14 Feb 2025 12:23:18 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=342#a342</link>
<description>&lt;p&gt;&lt;span style=&quot;color:#545454; font-family:HelveticaNeueETW01-55Rg,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;Hi Eberhard,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br style=&quot;box-sizing: border-box; color: rgb(84, 84, 84); font-family: HelveticaNeueETW01-55Rg, Helvetica, Arial, FreeSans, sans-serif;&quot;&gt;I suppose that you are aware that there is a mechanism of&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/concepts/tunable_components.html&quot;&gt;Tunable components&lt;/a&gt; in Typhoon HIL toolchain. If&amp;nbsp;you enable that option in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/square_wave_source.html?hl=Tunable&quot;&gt;Square Wave Source component&lt;/a&gt; you can change all the component parameters in runtime using HIL API function &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-api-documentation/hil_api.html#typhoon.api.hil.model_write&quot;&gt;model_write()&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;However,&amp;nbsp;since you have expressed the intention to vary the parameters of this component through signal processing, a different approach must be taken.&amp;nbsp;In the attached example model you can see the custom-made C function component representing square wave source, but with the dedicated inputs that are allowing runtime change through&amp;nbsp;signal processing.&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the attachment you can also find a SCADA panel, so you can test how this component works. Note that, unlike the library component, this custom-made component allows you to change phase during runtime (not just before simulation start).&lt;/p&gt;&lt;p&gt;Attachments:&lt;br&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=8391840444365409555&quot;&gt;model.tse&lt;/a&gt;&lt;br&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=4607704178445605045&quot;&gt;panel.cus&lt;/a&gt;&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=337/create-variable-frequency-rectangular-signal-frequency-signal&amp;show=342#a342</guid>
<pubDate>Tue, 11 Feb 2025 18:42:01 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=310#a310</link>
<description>&lt;p&gt;Hi Ioannis,&lt;/p&gt;&lt;p&gt;You can use C function block to implement such functionality. (&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/c_function.html&quot;&gt;documentation&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;execution_rate variable can be used in your C code, since it stores the value of the sample time. For example, if you want to add the sample time to the input, your output function would be:&lt;/p&gt;&lt;p&gt;&lt;em&gt;out = in + execution_rate;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;That should do the trick, since you can design your own function any way you like.&lt;/p&gt;&lt;p&gt;BR&lt;br&gt;Jovan&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=309/equivalent-simulink-weighted-sample-element-typhoon-control&amp;show=310#a310</guid>
<pubDate>Wed, 22 Jan 2025 13:02:00 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=302#a302</link>
<description>&lt;p&gt;Hi Nitish,&lt;/p&gt;&lt;p&gt;An algorithm for this purpose is presented in the following paper:&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://ieeexplore.ieee.org/document/5872051&quot;&gt;A Stationary Reference Frame Grid Synchronization System for Three-Phase Grid-Connected Power Converters Under Adverse Grid Conditions | IEEE Journals &amp;amp; Magazine | IEEE Xplore&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Ricardo&lt;/p&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=298/extracting-positive-negative-sequence-control-conditions&amp;show=302#a302</guid>
<pubDate>Thu, 09 Jan 2025 13:24:59 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=277#a277</link>
<description>&lt;p&gt;Dear Jeeva,&lt;br&gt;&lt;br&gt;In case of populating the losses part for any switch, there is a particular type of file format supported:&lt;/p&gt;&lt;p&gt;1) The file must be in .xml format(which is available as you mentioned).&lt;br&gt;2) The .xml file needs to be only lookup table type.&lt;br&gt;&lt;br&gt;Usually, there will be three types of .xml available which are table or lookup type, formula type and both lookup and formula type. You can easily differentiate it by mentioned format name in the xml file itself as show below(pointed by red arrow)-&lt;br&gt;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=1982216506506002964&quot; style=&quot;height:413px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;However, even if this type of format is available, you can manually populate the fields by following steps in this&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/power_losses_import.html&quot;&gt;link.&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hope this helps!&lt;br&gt;&lt;br&gt;Best Regards.&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&amp;show=277#a277</guid>
<pubDate>Sat, 14 Dec 2024 21:03:48 +0000</pubDate>
</item>
<item>
<title>Answered: MMC design using carrier phase shifting control</title>
<link>https://typhoon-hil.com/forum/?qa=267/mmc-design-using-carrier-phase-shifting-control&amp;show=269#a269</link>
<description>&lt;p&gt;Dear Nitheesh,&lt;br&gt;&lt;br&gt;I tried working on your model file and was able to rectify the error of dimension which was occurring. I would like to inform you that in Typhoon HIL schematic editor window, there is an option of &quot;Display Terminal Dimensions&quot; if you right click on any component or window. Enabling this option as shown in image below, you can easily figure out what are the signal dimensions and work accordingly.&lt;br&gt;&lt;img alt=&quot;&quot; src=&quot;https://typhoon-hil.com/forum/?qa=blob&amp;amp;qa_blobid=3195694118909560980&quot; style=&quot;height:303px; width:600px&quot;&gt;&lt;br&gt;For fixing you model I could see that the &#039;VacpAr&#039; signal was generated as 64 dimensional so currently I used a bus split to reduce the dimension of the signal and I was able to compile it successfully. Please find the attached model file for the same.&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;Era&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=1601701338427833719&quot;&gt;new_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&amp;show=269#a269</guid>
<pubDate>Wed, 11 Dec 2024 07:47:43 +0000</pubDate>
</item>
<item>
<title>Answered: Ready-made models</title>
<link>https://typhoon-hil.com/forum/?qa=244/ready-made-models&amp;show=254#a254</link>
<description>&lt;p&gt;Greetings Ioannis,&lt;/p&gt;&lt;p&gt;For the purposes of validating and testing Energy Management Systems, we have created the &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/topics/microgrid.html&quot;&gt;Typhoon HIL Microgrid library&lt;/a&gt; - a set of components that users can very easily parametrize and integrate into a larger model. Within these components, users can find components tailored to their needs in terms of functionality and complexity.&lt;/p&gt;&lt;p&gt;To learn more how to use these components, I recommend that you take a look at some of our example models:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p class=&quot;- topic/title title topictitle1&quot; id=&quot;ariaid-title1&quot; style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5em; line-height: 1.1em; word-break: break-word; overflow-wrap: break-word; color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue LT Std Roman&amp;quot;, Helvetica, Aptos, sans-serif;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.typhoon-hil.com/documentation/typhoon-hil-application-notes/References/terrestrial_microgrid_(switching).html&quot;&gt;Plug-and-play microgrid library and testing of microgrid controller&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;- topic/title title topictitle1&quot; style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5em; line-height: 1.1em; word-break: break-word; overflow-wrap: break-word; color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue LT Std Roman&amp;quot;, Helvetica, Aptos, sans-serif;&quot;&gt;Terrestrial microgrid example using generic components (examples\models\microgrid\microgrid example\terrestrial microgrid (generic)\terrestrial microgrid gen.tse&amp;nbsp;generic components)&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;color:#000000; font-family:Helvetica Neue LT Std Roman, Helvetica, Aptos, sans-serif&quot;&gt;Hope this helps!&lt;/span&gt;&lt;/div&gt;</description>
<category>Modeling</category>
<guid isPermaLink="true">https://typhoon-hil.com/forum/?qa=244/ready-made-models&amp;show=254#a254</guid>
<pubDate>Wed, 27 Nov 2024 16:17:17 +0000</pubDate>
</item>
</channel>
</rss>