# Questions tagged [modeling]

Questions about approaches for simulating physical systems or phenomena by building from related understanding and basic principles.

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
467 views

### Can LearnDistribution learn conditionality?

I would like to apply LearnDistribution to multivariate conditional distributions. Here's a simple artificial example: ...
• 31.7k
1k views

### Modelling Hysteresis with a Differential Equation

I want to implement the bulk ferromagnetic hysteresis model (mostly the Jiles-Atherton Model), see http://drum.lib.umd.edu/bitstream/1903/6043/1/PhD_99-1.pdf page 44 equation (30). The needed ...
• 273
1k views

### Sensitivity Analysis: Global Sensitivity and Screening

I have a model which accepts several input parameters and now I want to study the sensitivity to certain parameters as described in here: Cross Validated Answer and in Wikipedia. There is also a link ...
• 678
641 views

### How to do multi-agent modeling?

There are tons of examples here: http://demonstrations.wolfram.com/topic.html?topic=multi-agent+modeling&limit=20 But I been unable to find a good guide explaining what is the recommended ...
• 930
79 views

### Why is EstimatedProcess so slow for a vector ARProcess?

I'm trying to fit some 4 x N data to a vector auto-regressive model. However, EstimatedProcess is very slow for this. For a 4-th order vector AR process, it takes more than 10 seconds (for N approx. ...
• 276
455 views

### Power law fitting package that optimizes fitting parameters based off of the KolmogorovSmirnov MC method

I'm exploring power law fitting and would like to get to a point of making a power law package like what was discussed in this post, where OP references the R poweRlaw package. As per the comments/...
• 485
250 views

### Implementing and testing boundary conditions in polar coordinates for convection-diffusion equation

I am modeling a system using the convection-diffusion equation on a 2D, radially symmetric space. I wanted to do some sanity checks to make sure I am coding it correctly. I set up a situation where I ...
• 1,146
175 views

### FindDistribution analog: automated data modeling with all Wolfram statistical distributions

BOUNTY GOAL To get bounty I am asking to build a function that serves as an analog of FindDistribution. You can also simply re-implement ...
• 73.4k
124 views

### Graph embedding constrained to a surface?

Have been contemplating it for a while, but did not dare to post as I felt like this must be a major undertaking to implement. Then saw the excellent answers to a recent question RegionPlot3D KnotData ...
• 2,100
94 views

### Simple neural network with feedbacks in state-space form

Having studied more or less in detail the mechanisms of working with the state-space that Mathematica provides us with, I asked myself: can these tools be applied to neural networks? This article ...
• 2,464
290 views

### Physics based predictive model using Predict

Summary: The first order response of a block of metal quenching in a fluid (or a cold block heating in a warm environment) is well known. I am trying to create a physics based predictive model for ...
• 5,381
116 views

### Determining the total illumination of a polygon

Is it possible to determine the total illumination of a particular polygon with the given light sources? I truly acknowledge that Mathematica is not supposed to do this modeling, but it is what is ...
• 439
74 views

### Export and Printout3D missing pieces in STL file

I'm experiencing some strange behavior when using Export and Printout3D on the entire object created below. Exporting each part individually or using Printout3D work just fine. Also, for some reason ...
248 views

### Modelling heat exchange between flowing fluid and surroundings

Starting from this question: Couple a PDE and ODE in NDSolve I would like to modify the fluid from static to a flowing one in the y direction. that's the original code that I modified a little bit: ...
• 21
893 views

### Solution to heat equation with Neumann boundary conditions and lateral heat loss

I am conducting an experiment on heat conduction in a copper rod. To do so I am using a thin copper rod with several temperature probes, then I am going to compare the data with a solution to the heat ...
• 105
1 vote
77 views

### Some conceptual doubts about steady and transient solvers of the NS + energy equations

Recently, I have been solving some transient and steady, flow and heat transfer problems in Mathematica. The transient problem is essentially the reciprocating (i.e., fully reversing) flow of a fluid ...
• 297
1 vote
72 views

### Modeling Experimental data with a CDF

I have some data plotted above which relates two variables that were derived experimentally. I'm trying to fit a cumulative distribution function to it so that we can take a sample of Y at X. I've ...
• 1,226
1 vote
63 views

### How to take a derivative of a function with respect to another function inside the function?

I have these two equations: ...
1 vote
125 views

### 2D transient heat equation resolution

I'm writing a code to get the analytical solution mentioned in Sun et al., 2013. I will copy here the passages needed to solve the equation. The 2D transient heat equation is: First of all, I set the ...
1 vote
85 views

### Microcontrollerembedcode unable to connect to Arduino Yun

Hi Mathematica enthusiasts, I am trying to follow this tutorial off Wolfram reference for microcontrollers Real Time Data Acquisition I have an Arduino Yun Rev2 hooked up exactly as it is from the ...
1 vote
227 views

### Dealing with Vector Outputs from ItoProcess, RandomProcess (Stochastic Differential Equations)

I'm modeling stochastic chemical kinetics and the ItoProcess[] function has served me well. I am trying to write an efficient code to analyze many (Paths) trajectories of several different reagents (...
1 vote
205 views

### 2D Electro-diffusion Model with NDSolve

Set Up I am attempting to make a 2D model of the diffusion of ions in solution due to concentration gradients and an electric field. The equation that needs to be solved to describe the diffusion is ...
1 vote
158 views

### Disease Network Model Using NDSolve

I have a basic disease model using NDSolve: ...
• 363
1 vote
74 views

• 391
36 views

### Modeling with different outputs size

I have lists of input and output. I want to perform the prediction operation but my outputs are different for each input and this causes an error. Can someone help me to write the model in such a way ...
• 155
259 views

### How to plot elements from an array?

Im trying to solve a differential equation for a range of parameters (1->4). I then want to automatically plot a graph for each of those parameters. ...
965 views

### Error: "ReplaceAll: ... is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing." when solving a root

I have this code: ...
95 views

### NDSolve for ODE-PDE Problem

happy holidays, I am solving a coupled ODE - PDE system -for simplicity all coefficients are taken as 1-. I checked other questions on the issue but couldn't find any suitable answer or comparison. ...
• 191
88 views

### How to formulate NDSolve[...] for a two-sector SIR model

The following Code aims to simulate the employment effects of a pandemic, drawing on the conventional SIR model. I extended the SIR model with two economic sectors (...
• 6,263
198 views

### Magnetostatics analysis of Switched Reluctance Motor in Mathematica

Accidentally stumbled upon magnetostatic calculation in Mathematica. https://www.wolfram.com/language/12/nonlinear-finite-elements/magnetostatics.html?product=mathematica I would like to ask a ...
• 2,464
99 views

### Error in Monte Carlo simulation. Now Random walk (dotted curve) doesn't fit to the analytical curve (dashed curve)

I've been trying to code a kinetic monte carlo simulation for a system of consecutive chemical reactions using a fixed (repaired) code that the user flinty gives me in the last questions I post: ...
• 13
93 views

### Why do I keep getting these error messages?

I am trying to fit a parametric differential equation system to the data of the infection cases in Hungary. I keep getting the error messages: ParametricNDSolveValue::ndcf: Repeated convergence ...
• 49
147 views

### Count data fitting with Nonhomogeneous Poisson process

Following is count data needed to model with a nonhomogeneous Poisson process (NHPP). For each row-wise e.g. 8:15-8:30, every 12 intervals of 15 minutes size and 15 days of data collected. I have ...
• 187
2k views

### Help with "Coordinate should be a pair of numbers, or a Scaled or Offset form."

I am plotting the pair of recurrence relations: ...
• 83
205 views

### Recommended model for hysteresis

I have a fabric-based strain sensor and would like to find out what other recommended models can be used in the hysteresis modelling. I have tried using the cubic function for loading and unloading ...
• 320