🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

using SpiceCustom block with hyper spice component

User: "Leow Cheah Wei_21725"
New Altair Community Member
Updated by Leow Cheah Wei_21725

i try to use spicecustomblock with spice component in the same file, seems like it is not supported? if it is support how do i do it?

screenshot belows shows i combine two built in examples (DCDCBulkconverter and DC motor model)

 in the same file and try to simulate and i encountered error message further down in another screenshot

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.36e7c73359c7ba31812ec8d314771b5c.png

 

error message

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.1b7033ec4a0a45eae4db148784717817.png

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Philippe.LeMarrec"
    Altair Employee
    Updated by Philippe.LeMarrec

    Hi Leow,

    Yes you found a bug but with a workaround. In Spice the first line MUST be a comment, however here we need to specify the comment when 2 Spice instances are used (one through the custom block, the other through the pallet).

    You can double click on the customblock, then double click and edit the netlist of it and simply add a '*' at the first line to force the line to be a comment (see picture below in red)

    Then the testcase will run properly.

     

    image.png.fb54e614d0e55a06f34cf0afdac058d2.png