Wednesday, August 10, 2016

Loop analysis

The last three releases of the circuit simulator were primarily dealing with errors in the loop manipulation technique used by the circuit solver. A brief background is that loop analysis is the backbone of the circuit simulator. Nodal analysis is also used but that is used to determine conducting paths in a non-linear circuit and to determine the currents through stiff branches. But the bulk of the simulator is the loop analysis.

The loops can be divided into stiff loops and non-stiff loops. The non-stiff loops are solved as ODEs while the stiff loops are mere static equations. After any event in the circuit, it is necessary to ensure that the non-stiff equations fully represent the circuit. This means that the if the circuit is divided into two parts - non-stiff branches and stiff branches - the number of loops formed by the non-stiff branches with their associated nodes should be included in the loop analysis. A failure to do so will cause the simulator to break as the simulator in that case is not solving all the equations that represent the circuit.

The first error was it was assumed that two loops could be manipulated and the result need only be checked to ensure all nodes occur twice. This meant there would be no stray branches or multiple loops. This is not entirely true. It is possible that manipulating two loops could result in multiple completely disjointed loops that satisfy the condition that all nodes occur only twice. So it became necessary to trace out the loop from an origin node back to this node. If more than one loop was found, the loop manipulation was not valid.

The second error was in assuming that after two loops are manipulated there is no need to check the directions. It is always possible to have conflicts in the directions of branches with two loops that are being manipulated. For example, say loops L1 and L2 are being manipulated. There loops have a branch (say B1) common between them and the branch is in the same direction of loops L1 and L2. It is also possible that the loops have another branch (say B2) common but the direction of this branch may be the opposite in loops L1 and L2. So, with such loops, computing sum or difference of the loops is not totally straightforward and after performing the loop manipulations, it becomes necessary to check the directions of the branches in the resultant loop to make sure no branch direction is wrong.

The third error was in how the number of non-stiff loops are ensured. The number of non-stiff loops can be determined by counting the non-stiff loops and the number of nodes that they map and the loops will be equal to B-N+1. However, what was done so far was to manipulate the stiff loops and try to triangularize the stiff branches in the loop map. This technique would work in the first attempt for smaller circuits but as the circuits became bigger, this didn't work. One reason, it is not necessary that two stiff loops are compatible. Therefore, two stiff loops may have the same stiff branch but there is no way to eliminate this stiff branch from one of the loops because the result of their manipulation is not a genuine loop. In such circumstances, it is necessary to continue the loop manipulations even with non-stiff loops if necessary until the stiff branches have been eliminated from a sufficient number of stiff loops. This is now being implemented as a boot strap technique, the loop manipulations are continuously repeated until the number of non-stiff loops in the loop map meet the expectations.

At this stage, the bugs have been fixed for a three-phase inverter with LCL filter connected to the grid and behaving as a VAR compensator. However, it is still not completely certain that all bugs have been fixed as it still appears from some loop maps that some stiff loops have stiff branches common between them. This may or may not be a problem. For now, the non-stiff loops are equal to the number expected. However, I expect another round of bug fixing coming up soon.

13 comments:

  1. We're Lucky to have a website like this for sarkari results as I am preparing for the government jobs exams in India. Thanks a million for maintaining the unique and rare content which is also helping me prepare for the exams.

    ReplyDelete

  2. Flipkart is one of the biggest world wide eCommerce Site so here you will get SBI cashback offer flipkartthere

    ReplyDelete
  3. Jabong is one of the top online fashion related website you can getCredit card offers in jabong

    ReplyDelete
  4. Sarkari Recruitment is one of the biggest Indian Job Site so here you will getGovt Jobs in Telangana 2017so

    ReplyDelete
  5. I am very happy when read this blog post because blog post written in good manner and write on good topic. Thanks for sharing valuable information.
    Bangalore Web Designing Company, Web Development Company Bangalore

    ReplyDelete
  6. I absolutely admired every bit of it and i additionally accept you book apparent to analysis out fresh things in your site.
    UI Design Companies in Bangalore, Web Application Development Companies in Bangalore

    ReplyDelete
  7. Here is the complete info regarding the gmail setup
    gmail sign up

    ReplyDelete

  8. Flipkart SBI Offer 2019: 10% Instant Cashback.
    Flipkart HDFC Offer 2019: 10% Instant Offer.
    Flipkart Cashback offer 2019: 10% Cashback.
    Flipkart SBI Offer 2019: 10% Instant Cashback.
    Flipkart HDFC Offer 2019: 10% Instant Offer.
    Flipkart Cashback offer 2019: 10% Cashback.
    SBI Credit Card /Debit Card Offers 10% Instant Cashback
    Get Cashbackhttps://www.flipkart.com/?affid=crishkuma1
    HDFC Credit Ca rd /Debit Card Offers 10% Instant Cashback
    Get Cashbackhttps://www.flipkart.com/?affid=crishkuma1
    Citi Bank Credit Card /Debit Card Offers 10% Instant Cashback
    Get Cashbackhttps://www.flipkart.com/?affid=crishkuma1
    Axis Bank Credit Card /Debit Card Offers 10% Instant Cashback (Extra 5% on Axis Buzz Cards)
    Get Cashback
    https://www.flipkart.com/?affid=crishkuma1
    ICICI Bank Credit Card /Debit Card Offers 10% Instant Cashback
    Get Cashback
    https://www.flipkart.com/?affid=crishkuma1
    YES Bank Credit Card /Debit Card Offers 10% Instant Cashback
    Get Cashback
    https://www.flipkart.com/?affid=crishkuma1
    IDBI Bank Credit Card /Debit Card Offers 10% Instant Cashback
    Get Cashback
    https://www.flipkart.com/?affid=crishkuma1
    Kotak Bank Credit Card /Debit Card Offers 10% Instant Cashback
    Get Cashback
    https://www.flipkart.com/?affid=crishkuma1
    flipkart sbi debit card offers,flipkart offers


    flipkart sbi offers
    flipkart hdfc offers
    flipkart axis offers
    flipkart sbi offer
    flipkart sbi debit card emi
    flipkart sbi credit card offer
    flipkart sbi debit card emi
    flipkart sbi credit card offers
    flipkart hdfc,
    flipkart hdfc offer,
    flipkart hdfc credit card offer,
    flipkart icici debit card emi
    flipkart icici credit card offer
    flipkart icici offer
    flipkart axis,
    flipkart axis bank offer

    ReplyDelete

  9. flipkart sbi
    flipkart sbi debit card emi
    flipkart sbi offer
    flipkart offer with sbi card
    flipkart sbi card offer
    flipkart sbi credit card offers
    flipkart sbi debit card offer
    sbi flipkart eligibility
    flipkart sbi debit card emi offer
    sbi woohoo flipkart gift card


    flipkart sbi offer 2019
    flipkart sbi offer big billion day
    flipkart debit card emi sbi process
    flipkart debit card emi sbi sms
    flipkart emi with sbi debit card
    flipkart emi through sbi debit card
    flipkart sbi emi debit card
    flipkart sbi emi
    flipkart sbi credit card offer 2019
    sbi flipkart pre approved emi
    flipkart sbi card offer 2019
    flipkart sbi emi offer
    flipkart debit card emi sbi mobile
    flipkart debit card emi sbi in hindi
    flipkart mobile sbi card offer
    flipkart sbi offer today
    flipkart sbi debit card eligibility
    sbi po flipkart
    flipkart coupons for sbi credit card
    flipkart sale sbi card
    flipkart sbi debit card emi link
    flipkart and sbi card offer
    flipkart offer with sbi debit card
    sbi flipkart voucher offer
    flipkart sbi credit card offer 2017
    flipkart and sbi debit card offer
    flipkart diwali sale sbi offer
    flipkart offer for sbi debit card
    flipkart republic day sale sbi offer
    flipkart sbi 10 cashback offer
    flipkart sbi 10 discount
    flipkart sbi card offer 2018
    flipkart sbi card offer big billion day
    flipkart sbi credit card offer 2018
    flipkart sbi debit card emi 2018
    flipkart sbi instant discount
    flipkart sbi offer 2017
    flipkart sbi offer december 2017
    flipkart sbi offer details
    flipkart sbi offer jan 2019
    flipkart sbi offer july 2018
    flipkart sbi terms and conditions
    sbi flipkart link

    ReplyDelete
  10. Grab Cashback - Up to 50% Off at Flipkart SHOP NOW,
    ICICI debit card EMI offers - Flipkart,
    Debit card EMI facility - Flipkart,
    ICICI debit card EMI offers - Flipkart,
    Flipkart HDFC EMI offers,
    Grab Cashback - Up to 50% Off at Flipkart SHOP NOW,
    10% Instant Discount on SBI Credit Cards at Flipkart,
    10% Instant Discount on SBI Credit Cards - Flipkart
    10% Instant Discount with HDFC Bank Debit and Credit at Flipkart
    10% Instant Discount on SBI Credit Cards - Flipkart,
    10% Instant Discount on SBI Credit Cards at Flipkart
    Monsoon Offers on Home Appliances - Flipkart,
    Flipkart SBI Offer 2019: 10% Instant Cashback,
    Flipkart HDFC Offer 2019: 10% Instant Offer,
    Flipkart Cashback offer 2019: 10% Cashback,
    Cashless Pay Store - Flipkart,
    Flat Rs. 4000 instant discount on transactions made using at Flipkart,
    No Cost EMI available on Credit Cards Valid till 10 January at Flipkart
    Diwali Festive Sale from 9pm - Flipkart
    10% Off on All Cards on Home Appliances - Flipkart
    10% Off on Cooling Days at Flipkart on SBI Credit Cards | SBI Card
    flipkart samsung carnival,
    flipkart mobiles,
    TV & appliances Sale (Axis Bank Offer) at Flipkart,
    10% Off on purchase of Fashion, Home & Furniture and at Flipkart,

    Air purifiers Offers - Flipkart,
    Offer Details - Flipkart,
    SBI Debit Card Offer at Flipkart,
    Extended Warranty on Appliances - Flipkart,
    Ganesh Chaturthi Festive Offers - Flipkart,
    EMI on Debit Cards - Flipkart,
    Top selling Latest Mobiles - Flipkart,
    Honor Mobiles Day - Flipkart
    Axis Bank Debit Card - Flipkart,
    HDFC Debit Cards - Flipkart,
    ICICI Debit Cards - Flipkart,
    Top selling Latest Mobiles - Flipkart,
    Explore New & Latest Mobiles of this season - Flipkart
    Republic Day Sale - 10% Instant Discount on SBI Credit Cards - Flipkart
    Flipkart cashback offers coupons-Daily discount Coupons
    Flipkart Bank offers,
    Flipkart Cashback Offers Coupons Electronics ,
    Flipkart Cashback offers Lifestyle ,
    Flipkart Cashback offers on Music,
    Flipkart Cashback offers on Computers devices,
    Flipkart Cashback offers on Furniture ,
    Flipkart Cashback offers on Footwear ,
    Flipkart Cashback offers on Accessories,
    Flipkart Cashback offers on Other Products ,
    Microwave oven – Get 20% to 55% offer,
    Flipkart Cashback offers on Watches,Flipkart Mobile Offers
    flipkart Credit card offers
    flipkart offers
    Flipkart cashback offer
    Flipkart Cashback
    Flipkart offers 2017
    Flipkart SBI Offer
    flipkart cashback offers
    Flipkart Vouchers
    flipkart laptop offers
    flipkart mobile Offers
    Flipkart cashback Coupons
    flipkart offers
    flipkart electronics offers
    flipkart Clothing Offers
    flipkart Air Conditioners

    Flipkart Bank Cashback,Cashback Offers
    AXIS Bank:10% discount Cashback
    ICICI Bank :15% Cashback Discount
    Yes bank:10% Cashback Discount
    State Bank of India:10% Cashback Discount
    HDFC Bank:10% Cashback Discounts
    CITI Bank:10% Cashback Discounts
    flipkart cashless payday sale
    flipkart pay day sale
    flipkart cashless payday sale 2018

    ReplyDelete