<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nikeshala Sewwandi on Medium]]></title>
        <description><![CDATA[Stories by Nikeshala Sewwandi on Medium]]></description>
        <link>https://medium.com/@nikeshalasewwandi281?source=rss-798a1b8d610c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uh3pwONYSgh-ZyxmrTTDKg.jpeg</url>
            <title>Stories by Nikeshala Sewwandi on Medium</title>
            <link>https://medium.com/@nikeshalasewwandi281?source=rss-798a1b8d610c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:32:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nikeshalasewwandi281/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Sketches to System: How Diagrams Power Software Modelling]]></title>
            <link>https://medium.com/@nikeshalasewwandi281/from-sketches-to-system-how-diagrams-power-software-modelling-61d148b9152b?source=rss-798a1b8d610c------2</link>
            <guid isPermaLink="false">https://medium.com/p/61d148b9152b</guid>
            <category><![CDATA[software-modelling]]></category>
            <category><![CDATA[what-is-diagram]]></category>
            <category><![CDATA[uml-diagrams]]></category>
            <dc:creator><![CDATA[Nikeshala Sewwandi]]></dc:creator>
            <pubDate>Sat, 21 Mar 2026 19:26:27 GMT</pubDate>
            <atom:updated>2026-03-21T19:26:27.528Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GjfFK9Uh76MitWFejSvZng.png" /><figcaption>Created from ChatGPT</figcaption></figure><p><strong><em>How wonderful that the human brain understands diagrams faster than text alone!</em></strong></p><h4>Do You Know What is a Diagram ?</h4><p>Simply put, A diagram is a visual representation of information, ideas, systems or processes.<br>Some diagrams are colourful and eye-catching; when someone looks at them ,it makes them curious.</p><p>Today, almost everyone uses Google Maps for find locations. It is a powerful real world example of diagrams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-E3KJLzPXg9yFO6jLiofaA.jpeg" /><figcaption>Image credit: Alberto Rodríguez Díaz, from Medium article “Google Maps &amp; Location Jetpack Compose”</figcaption></figure><p>With this diagram, it is much easier to find a location than using only written instructions.</p><h4>Types of Diagrams</h4><p>There are many types of diagrams used for different purposes. Examples include <strong><em>bar chart, pie chart, histogram, line chart and flow chart.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BkvCSIrf0lrPElt-dxUEMA.png" /><figcaption>Created from ChatGPT</figcaption></figure><h4>From Real World Diagram to Software Modelling</h4><h4>What is Software Modelling ?</h4><p>Just as real-world diagrams are used to simplify data, Software diagrams help us navigate complex systems. We are using diagrams to visualize systems, processes and interfaces in software modelling. This process is called Software Modelling. It helps developers, designers and stakeholders understand how software works, identify potential problems and how they want to build the software.</p><h4>Diagrams used in Software Modelling</h4><p>We can divide diagrams into two categories based on what they represent in software modelling.</p><ol><li>Structural Diagrams</li></ol><p>These diagrams show the static structure of the system. Examples for this diagrams are<em> class diagram, object diagram, component diagram, deployment diagram, package diagram</em></p><p>For example, if you have to build a ATM system, then you would create these kinds of diagrams to show the static structure of your project. It helps to understand what you are going to build in ATM system to stakeholders and developers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hwz6QIqwRk8u9gz82kbU7A.png" /><figcaption>This is a UML <em>deployment diagram for ATM System. (Source : </em><a href="https://www.conceptdraw.com/How-To-Guide/uml-deployment-diagram-example-atm-system">https://www.conceptdraw.com/How-To-Guide/uml-deployment-diagram-example-atm-system</a>)</figcaption></figure><p>2. Behavioral Diagrams</p><p>These diagrams show the dynamic behavior of the system. Some examples of these diagrams are <em>use case diagram, sequence diagram, activity diagram, state diagram, communication diagram and timing diagram.</em></p><p>Get previous example for this one also.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*xV2S6GgDxvq1tjpXAIWJTQ.png" /><figcaption>This is a Use Case diagram for ATM system. ( Source :<a href="https://www.conceptdraw.com/examples/state-chart-diagram-for-bank-atm-behavioral-state-machine-diagram">https://www.conceptdraw.com/examples/state-chart-diagram-for-bank-atm-behavioral-state-machine-diagram</a>)</figcaption></figure><p>This is a Use Case diagram for ATM system. This diagram is important to identify who uses the system, what each user wants from the system and how developers should implement the system.</p><h4>Why should diagrams use in Software Modelling ?</h4><p>When creating a Software system, it is difficult to think about all the scenarios at once. How do developers know exactly what stakeholders want ? The best way to communicate within stakeholders and developers is diagrams. Diagrams help the project team understand what they want to implement and stakeholders can easily provide feedback after seeing the diagrams.</p><p>These diagrams help estimate project timelines, costs and identify each team member’s responsibilities and if new team member comes they can easily understand the system because these diagrams saved as documents.</p><p>In conclusion, diagrams in Software Modelling make it easier to understand, design, communicate and maintain a system. They play a crucial role in turning a small idea into real-world software system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61d148b9152b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hybrid Solar Systems from URSIE 2025]]></title>
            <link>https://medium.com/@nikeshalasewwandi281/hybrid-solar-systems-from-ursie-2025-ed04768db7db?source=rss-798a1b8d610c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed04768db7db</guid>
            <dc:creator><![CDATA[Nikeshala Sewwandi]]></dc:creator>
            <pubDate>Thu, 25 Dec 2025 10:34:23 GMT</pubDate>
            <atom:updated>2025-12-25T10:34:23.256Z</atom:updated>
            <content:encoded><![CDATA[<p>During the Undergraduate Research Symposium and Innovation Exhibition (URSIE 2025) at the Faculty of Science, University of Kelaniya, I had the chance to explore a range of fascinating student projects. One presentation, in particular, grabbed my attention: a study on hybrid solar power systems designed to make off-grid electricity more dependable and efficient.</p><p>Here are the details of the research publication I explored:</p><p>•<strong>Research Title:</strong> Supercapacitor Battery Hybrid PV System for Off-Grid Applications</p><p>• <strong>Paper ID:</strong> 16</p><p>• <strong>Authors:</strong> Amaraweera T.R., Premasiri R.M.H.D, Piyumal P.L.A.K, Ranaweera A.L.A.K, and Kalingamudali S.R.D.</p><p>•<strong>Department: </strong>Department of Physics and Electronics, University of Kelaniya</p><h4>Why Hybrid Storage Matters ?</h4><p>Traditional off-grid solar systems rely on batteries to store energy generated during sunny periods for use at night or during cloudy weather. While effective, these batteries can be stressed by sudden and unpredictable load demands. For example, when a household device kicks on and draws a large amount of power all at once, this transient demand can wear down the battery over time, shortening its life and decreasing system performance.</p><p>The research team’s solution? Combine the strengths of two storage technologies:</p><p><strong>•Lithium-ion Batteries:</strong> Great for storing energy over longer periods and providing a steady supply.</p><p><strong>• Supercapacitors (SCs):</strong> Excellent at quickly releasing energy when there are rapid changes in load.</p><p>Supercapacitors aren’t new to the energy world. They’re already used in applications like electric vehicles for quick bursts of power. But blending them with battery storage in a solar setup is an innovative step forward for off-grid systems.</p><h4>The Hybrid PV Prototype</h4><p>The student researchers built a lab-scale hybrid system that intelligently manages power from the solar array, the battery, and the supercapacitor. Their design supports six different operating modes, allowing it to dynamically select the best source (or combination of sources) depending on what the system needs at any moment.</p><p>Here’s how it works in practice:</p><ul><li>When sunshine is abundant and the load is low, the system charges both the battery and supercapacitor.</li><li>If a sudden demand spike occurs, the supercapacitor instantly delivers power, protecting the battery from stress.</li><li>During long periods of steady demand, the battery takes the lead, using its stored energy efficiently.</li></ul><p>This smart switching, even in prototype form, showed clear advantages: less wear on the batteries, more reliable power delivery, and better overall system stability.</p><h4>Looking Ahead: Smarter Control and Real-World Testing</h4><p>While the initial results are promising, the team acknowledges there’s more work ahead. They plan to integrate automated switching logic and Maximum Power Point Tracking (MPPT). These enhancements could make the system even more adaptable and efficient.</p><p>Crucially, the researchers also want to move beyond the lab. Long-term field testing will be key to understanding how the hybrid system performs under real environmental conditions and with larger energy demands.</p><h4>Why This Matters ?</h4><p>For rural areas without access to stable grid electricity, renewable energy systems are often the most realistic option. But reliability and longevity are major concerns. By combining batteries with supercapacitors, this hybrid approach offers:</p><ul><li>Longer equipment life</li><li>Better handling of sudden load changes</li><li>Higher reliability for end users</li></ul><p>This research isn’t just a clever engineering exercise. It’s a meaningful step toward more resilient and sustainable power solutions for communities that need them most.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed04768db7db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Fundamental Python Concepts: Variables, User Input and Looping”]]></title>
            <link>https://medium.com/@nikeshalasewwandi281/fundamental-python-concepts-variables-user-input-and-looping-72418c6afb43?source=rss-798a1b8d610c------2</link>
            <guid isPermaLink="false">https://medium.com/p/72418c6afb43</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <dc:creator><![CDATA[Nikeshala Sewwandi]]></dc:creator>
            <pubDate>Sat, 08 Nov 2025 17:21:30 GMT</pubDate>
            <atom:updated>2025-11-08T17:24:32.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*NBT5u_tuTCXzc-G5daoGGA.jpeg" /></figure><ul><li>Python is a high-level programming language designed for simplicity and readability.</li></ul><h4>1) Variables</h4><ul><li>A variable name must start with a letter(a-z or A-Z) or underscore (_) .</li><li>After the first character, you can use letters, digits or underscore.</li><li>You cannot use Python keywords as variable names.</li></ul><p><em>ex → name, _count, Age, number1</em></p><h4>2) Data Types</h4><p>* String → stores text<br> * Integer → stores whole numbers (positive, zero or negative)<br> * Float → stores numbers with a decimal point<br> * Boolean → stores only one of True or False</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*1L9HinOIikWn0J536sFICw.png" /></figure><h4>3) Inputs</h4><ul><li>You can ask the user to type something while your program is running, using the built-in function <em>input</em>().</li><li>In <em>input</em>() function , whatever the user types is returned as a string.</li><li>If you want to get an integer, float or another type as input ,you must explicitly convert it.</li></ul><pre>name  = input(&quot;Enter your name: &quot;)        #get as String<br><br>age   = int(input(&quot;Entet your age: &quot;))    #get as Integer<br><br>price = float(input(&quot;Enter the price: &quot;)) #get as Float</pre><h4>4) Operators</h4><ol><li><em>Arithmetic operators:</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*HTorJ3gx9wsqpanxVB6PcA.png" /></figure><p><em>2.Comparison operators:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*YwJXPm1duDIDKut2a0fmwQ.png" /></figure><p><em>3.Logical operators:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*Vh1kN9rLiEPwvDcKLs8uKw.png" /></figure><h4>5) If condition</h4><ul><li>The <em>if </em>statement checks whether a condition is true; only then execute a block of code. If the condition is false, the code inside that block is skipped.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*L4VC91-9cyBflHWzArFYIQ.png" /></figure><p>ex →</p><pre>mark = 30<br><br>if mark &gt;= 75:     # if mark &gt;= 75 -&gt; output = A<br>    print(&quot;A&quot;)<br>elif mark &gt;= 50:   # if mark &lt; 75 and mark &gt;= 50 -&gt; output = B<br>    print(&quot;B&quot;)<br>else :<br>    print(&quot;F&quot;)    # else -&gt; output  =  F</pre><h4>6) For Loop</h4><ul><li>A <em>for </em>loop lets you repeat a block of code a fixed number of times.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*J8gebVy4ZTRDvpdfPaZNRQ.png" /></figure><p>ex →</p><pre>for x in range(1,10):    #output -&gt; 1,2,3,4,5,6,7,8,9<br>    print(x)<br>for y in range(1,10,2):  #(start,stop,step)<br>    print(y)             #output -&gt;1,3,5,7,9</pre><h4>7) While Loop</h4><ul><li>A <em>while </em>loop repeats a block of code as long as a certain condition remains true.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*xL44BWUg3Z0R3zjKqsuXlA.png" /></figure><p>ex →</p><pre>count = 1<br>while count &lt;= 5:<br>    print(count)<br>    count += 1       #output -&gt; 1,2,3,4,5</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72418c6afb43" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>