Community Profile

photo

David John

MathWorks

Last seen: 2 maanden ago Active since 2018

Statistics

  • Revival Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Converting a SPICE subcircuit to Simscape component
Could you please confirm which release you are using? Support for the coupling factor component was added in R2019a, I believe....

3 maanden ago | 0

| accepted

Answered
How to implement the initial conditions SPICE command (.ic) into a Simscape component block (.ssc) file
The ".ic" statement in SPICE is not really part of the subcircuit model; rather it is part of the transient simulation. In any ...

3 maanden ago | 0

Answered
Import encrypted LTSpice models in simscape
Unfortunately, this is not possible to do. The encryption is there in order to prevent you from seeing what is inside the model,...

3 maanden ago | 0

Answered
How to make a PWL Waveform repeat in Simscape Electrical?
You may want to have a look at the Pulse Voltage Source in Simscape Electrical instead.

3 maanden ago | 0

Answered
mathematical modeling of battery heat generation
If you have Simscape Electrical, the Battery block and Battery (Table-Based) block both have builtin thermal models prepared for...

3 maanden ago | 0

Answered
how can i use diffrent ground for isolated circuits connected at the primary and secondary of the transformers?
If you don't like the solution with a large resistor, I suggest adding capacitance between the primary and secondary. This capac...

3 maanden ago | 0

Answered
Simscape component, can not use coth()
I don't think that coth() is supported, but tanh() is, so you can use coth(x)=1/tanh(x) if that can work for you.

3 maanden ago | 0

Answered
How to create a custom capacitor with changing distance between capacitor plates?
If you want to change the capacitance based on an input, you can have something like i == C0*d1/d2*vc.der; I'm not sure w...

3 maanden ago | 0

Answered
Why can't I use Simscape in Fast Restart Mode?
Fast Restart and Simscape do work together, but only for parameters that are run-time tunable. You need to first check if the pa...

3 maanden ago | 0

| accepted

Answered
Modeling thermal capacity in simscape
Please try right-clicking on the PMSM block from the Simscape Electrical library and choose: Simscape --> Block choice --> Show...

3 maanden ago | 0

Answered
Using vectors as input in simscape interface
Vectors are usable in Simscape, but only if the blocks in your model also support vectors. In this case, they don't. The electri...

3 maanden ago | 0

Answered
error when using subcircuit2ssc to import spice to simulink
It looks like you may be missing the definitions for the subcircuits that are required to fully define X$M2 and X$M2. In particu...

3 maanden ago | 0

Answered
Show Variable Viewer - Matlab-> Simulink -> Simscape
In 2019b, the location is under the "APPS" tab on the toolstrip, then look for the "Physical Modeling" section and click on "Sim...

3 maanden ago | 0

Answered
I am getting wrong output voltage in ideal transformer , how can I fix this ?
Please try changing the "Max step size" in the "Model Settings" to something smaller so that it resolves your sine wave better. ...

ongeveer een jaar ago | 1

| accepted

Answered
How does simscape calculate the MOSFET gain factor from the datasheet values?
The gain is calculated by solving the Schichmann-Hodges equations for the gain given the Rds at a particular Vgs and Id. Specify...

ongeveer een jaar ago | 0

Answered
Power losses in Simscape Electrical
1) At this time, the Converter (Three-Phase) block does not support a thermal port, so yes, you would need to build it up out of...

ongeveer een jaar ago | 0

Answered
Diode Power losses in Simscape Electrical
For diode losses, we always include conduction losses. For switching losses, you need to use a model where "Charge dynamics" on ...

ongeveer een jaar ago | 1

Answered
Buck Converter Block (Simscape Eletrical) not working properly
You have grounded the G- node. If you are considering MOSFETs, this would correspond to the source terminal of the MOSFET. Try d...

ongeveer een jaar ago | 0

Answered
Parameterize mosfet model for SiC mosfet
There are a couple of options (and I'm assuming that you're using this device in a switching application...so no need to go all ...

meer dan een jaar ago | 0

| accepted

Answered
How to get information about formulas used in getPowerLossSummary function?
Individual blocks in Simscape Electrical track their own losses via an internal power_dissipated variable. For many blocks, this...

meer dan een jaar ago | 0

| accepted

Answered
Finding Rotor parameters in Asynchronous Machine Wound Rotor (Fundamental, SI)
Attach an Induction Machine Measurement block to the output terminal of the block and then select which quantity you would like ...

bijna 2 jaar ago | 0

Answered
Understanding "start simulation from steady state" option in solver block
If the box is unchecked, then the MOSFET may not be starting from a DC steady-state operating point. It could be starting from a...

bijna 2 jaar ago | 0

Answered
Is there a way to build a model like this lt spice model with simscape ?
No, it's not possible to do that at this time. You can, however, use subcircuit2ssc to make a single block out of your SPICE imp...

bijna 2 jaar ago | 0

| accepted

Answered
SPICE To Subsystem diagram
The subcircuit2ssc functionality is intended to translate a textual circuit representation (from a SPICE netlist) to a textual r...

bijna 2 jaar ago | 1

| accepted

Answered
SIMSCAPE INPUT FOR SOURCE CODE
The most straightforward way to do this is to write your own custom block using the open source code of the Controlled Voltage S...

bijna 2 jaar ago | 0

Answered
What do the C_param and RevBrk parameters mean for spice_diode ?
C_param is a flag indicating what type of capacitance model you want to use and RevBrk is a flag indicating what type of reverse...

bijna 2 jaar ago | 0

| accepted

Answered
Impedance vs Frequency Plot
Simscape solves in the time-domain, so you cannot directly do a frequency sweep. You can, however, linearize the model and then ...

bijna 3 jaar ago | 0

| accepted

Answered
Where should I take RLC branch in Matlab 2017 version?
If you are looking for the three-phase RLC block in Simscape Power Systems in 17a or 17b, please see Simscape Components/Passive...

bijna 3 jaar ago | 0

Answered
Electronics circuit diode simulation
The main mechanism that we have for flagging components going outside of a certain operating limit is by using the passive compo...

bijna 3 jaar ago | 0

Answered
PE Cable Ac Sheath bonding model - partially adjust cable model and simulate results
The example model assumes that the total cable length is equally distributed across each pi-section model. This is defined in th...

bijna 3 jaar ago | 0