photo

David John

MathWorks

Last seen: 4 mois il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 4
  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How to fix State of charge must be greater than or equal to minimum value of the Vector of state-of-charge values, SOC.
Most likely the state-of-charge is crossing 0 at that time of your simulation. Try taking a look at the stateOfCharge variable i...

plus d'un an il y a | 1

Réponse apportée
Diode Power losses in Simscape Electrical
Reverse recovery loss can now be tabulated for a diode using the Simscape Electrical diode block: Piecewise or exponential diode...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
Spice Netlist to Simscape Conversion Issue - LIB directive
The .subckt definition is not quite right for XU1 and XU2. There are some dashes missing from the subcircuit names in order to l...

environ 2 ans il y a | 1

Réponse apportée
Calling time step and values of Previous time step in a component file of simscape
(1) I'm not 100% sure what you mean with this question, but fuelcell.ssc defines the Simscape model for one block of the overall...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Simscape - Transient initialization vs Transient Solve
The transient solve also solves for the algebraic variables. At an event, we re-initialize in order to handle possible jumps in ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to show component values in Simscape model
The solution provided by Dean is the most robust one. If you're unsure what the parameter name is, you can hover it with your mo...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Spice Netlist to Simscape Conversion Issue - LIB directive
On lines 25 and 111 of the lib file, you have stray newlines in the middle of a continued line. Please try removing those two bl...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Error compiling Simscape network for model
The units of "Table grid vector" in "PS Lookup Table (1D)" should be 'm' instead of '1'.

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to create a simscape block with three nodes?
branches q1 : a.q -> b.q; q2 : a.q -> c.q end

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Not connected in SimScape
In older releases, there are blocks that allow you to do this. For example, in the electrical domain, there is the "Open Circuit...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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. ...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Change transformer parameters form Guide app
The parameter value should be a string or character vector instead of a double or array of doubles.

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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.

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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.

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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 ...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

Charger plus