Community Profile

photo

David John

Last seen: 6 días ago Active since 2018

Statistics

  • Knowledgeable Level 3
  • Revival Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Disable blocks through code
use set_param to set the "Commented" parameter to "on". For example, if you have a model called "model" with a block that you w...

28 días ago | 0

Answered
Add Reset Function to Simscape Integrator Block
In 2018 it was true that Simscape did not let you reset integrators. In a more recent release, however, you can do it using the ...

28 días ago | 0

Answered
Difference between Blue Simscape and Black Simscape Mosfet
The blue one is in the Simscape language and is compatible with all Simscape components. The black one is for "Specialized Power...

alrededor de 1 mes ago | 0

| accepted

Answered
Does the location of Solver Configuration matters?
The location doesn't matter. It just needs to be connected to something from the physical Simscape network.

alrededor de 1 mes ago | 0

Answered
defining the constant mentioned in the parameter's value
This parameter gets loaded into the MATLAB workspace when you open the example model. If you go to MATLAB and look at the variab...

alrededor de 1 mes ago | 0

Answered
Question about the term "Vf*Ron*Goff" in the series voltage in diode block from Simscape Electrical.
In the off-state, the diode equation is: v = i/Goff In the on-state, the equation is: v = i*Ron + Vsource where Vsource is l...

5 meses ago | 0

Answered
MOSFET SPICE models .lib file into Simulink using subcircuit2ssc
Most likely this is because you have nested subcircuits. In particular, there is: .ENDS TO263_7_11_HVM_1G75_1S500_100MHz_parlel...

5 meses ago | 0

| accepted

Answered
Why the Grading coefficient 'M' of the spice diode must less than 0.9?
The grading coefficient affects the diffusion capacitance. The equations are shown at SPICE-compatible diode - MATLAB (mathworks...

5 meses ago | 0

Answered
Hard Switching Mosfet Simulation
Use the N-Channel MOSFET block from Simscape Electrical and ensure include a non-zero Coss in the Capacitance group of parameter...

5 meses ago | 0

Answered
How to extract elements from a Simscape electrical simulation and run a batched parameter sweep?
Yes, this is possible. There is an example that illustrates a few of the steps you've highlighted above at Tolerance Study Using...

5 meses ago | 0

Answered
Simscape Electrical conversion to Simulink and back
BRK is an electrical signal, so it needs to come out of a voltage source instead of directly from a Simulink-PS Converter. Try ...

5 meses ago | 1

Answered
Connecting Fuse in Simscape Transformer Circuit
It sounds like you are trying to combine library blocks from "Specialized Power Systems" with Simscape-language-based blocks. P...

6 meses ago | 0

Answered
How to customise a simscape model by unmasking ?
Please check if the PMSM has an internal variable called power_dissipated in it in your version of MATLAB / Simulink. This can ...

6 meses ago | 0

Answered
Simulink simulation fails or not at a specific time depending on duration
It would be helpful to see your example model, but when this occurs it is most likely that the "Max step size" is having an impa...

6 meses ago | 0

| accepted

Answered
How do I view the circuit within block?
If you're using a library block, it is written as an ssc file, which means that there is no graphical representation of the bloc...

6 meses ago | 0

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....

10 meses 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 ...

10 meses 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,...

10 meses 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.

10 meses 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...

10 meses 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...

10 meses 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.

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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. ...

más de 1 año 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...

más de 1 año ago | 0

Load more