Community Profile

photo

David John

MathWorks

Last seen: 2 months ago Active since 2018

Statistics

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

View badges

Content Feed

View by

Answered
Capturing efficiency of a system while sweeping voltages and duty cycle parameters
There is an example that is doing parametric sweeps like you describe: https://www.mathworks.com/help/physmod/sps/ug/converter-d...

2 months ago | 0

Answered
Simulink Model for ohmic heating in a resistor
Have a look at the Variable Resistor and Thermal Resistor blocks. The source code should be available for both of these blocks. ...

2 months ago | 1

Answered
Nonlinear Capacitor (Debye Relaxation Model)
If your "Series resistance" is zero, then DF1 and DF2 are just the same as your values for "Dissipation factors (%) at f1 and f2...

4 months ago | 0

| accepted

Answered
Change transformer parameters form Guide app
The parameter value should be a string or character vector instead of a double or array of doubles.

4 months ago | 0

Answered
Voltage measurement for simscape model
If I understand correctly, you want to know the voltage at port 2 on each of these subsystems wth respect to ground. You can use...

4 months ago | 1

Answered
How do I identify the exact string to use to programmatically configure a Simscape component's parameters when instantiating it?
If you let your mouse hover over a parameter in the block mask, the programmatic name should appear.

4 months ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year 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,...

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

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

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

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

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

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

1 year ago | 0

| accepted

Load more