kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #33794
Re: eeschema ngspice simulation improvment
-
To:
<kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Maciej Sumiński <maciej.suminski@xxxxxxx>
-
Date:
Thu, 8 Feb 2018 10:07:25 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.50) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
In-reply-to:
<5c37033e-efea-e292-54be-2403c2d260f5@scilink.net>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
Hi Ludovic,
If I recall correctly, when you run an analysis different than
transient, ngspice will not return any data when you ask for currents.
There is also another related line:
void NETLIST_EXPORTER_PSPICE_SIM::writeDirectives( OUTPUTFORMATTER*
aFormatter, unsigned aCtl ) const
{
// Add a directive to obtain currents
//aFormatter->Print( 0, ".options savecurrents\n" ); // does
not work :(
The directive is described in ngspice manual [1, 15.7.1]. Perhaps it is
fixed in ngspice-27, I have no idea. Try commenting out the condition
that prevents listing current signals for analysis other than transient
and see if you succeed.
Regards,
Orson
1. http://ngspice.sourceforge.net/docs/ngspice-manual.pdf
On 02/08/2018 09:45 AM, ludovic léau-mercier wrote:
> Hi all,
>
> i try to create a patch to adding several improvment of eeshema simulation.
>
> My first goal is to draw BJT caracteristics (like
> https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/info/comp/active/BiPolar/IcVce.gif)
> with a simplest circuit in attachment.
>
> I had beginning to work on this improvment but in the file :
>
> /kicad/eeschema/dialogs/dialog_signal_list.cpp
>
> in method :
>
> bool DIALOG_SIGNAL_LIST::TransferDataToWindow()
>
> there is a strnage comment :
>
> // For some reason, it is not possible to plot currents in any but
> transient analysis
>
> If someone can give me some informations ?
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References