Questions tagged [modeling]

Modeling is the constructing and manipulating abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

Modeling is the construction and manipulation of abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

2023 questions
6
votes
0 answers

How to draw UML class diagram for C++ Template based code?(like TMP)

I draw UML for C++ as the book UML distilled teaches. Before I study Template Programming the book was enough. But while I am studying Template Programming including Template Meta Programming, I finally met this problem. Are there any known methods…
Jumogehn
  • 1,102
  • 3
  • 11
  • 29
6
votes
3 answers

clustering for trajectories

I have large amount of temporal lat/lon. I'm trying to find k-clusters of trajectories from this data. What is the best approach for this? Thanks. Edit: How should I generate the features for my data (lat/lon + time) in order to use kmeans /…
kietdlam
  • 185
  • 3
  • 12
6
votes
1 answer

Unified Process (UP) versus Unified Modeling Language(UML)

What is the difference between Unified Process (UP) and Unified Modeling Language (UML)? Is there a difference, or is using either one the same?
Chriss
  • 1,011
  • 1
  • 13
  • 22
5
votes
7 answers

What is the industry standard database modeling language?

Before anyone votes to close this as a dupe, know that every question I found so far was a question about specific programs that are good for database modeling. My question is what is the industry standard language (if there is one) for modeling a…
JoeCool
  • 4,392
  • 11
  • 50
  • 66
5
votes
4 answers

Modeling a linear system with Python

I would like to simulate/model a closed-loop, linear, time-invariant system (specifically a locked PLL approximation) with python. Each sub-block within the model has a known transfer function which is given in terms of complex frequency H(s) = K /…
benpro
  • 4,325
  • 4
  • 19
  • 17
5
votes
2 answers

Composition and Aggregation in a Class diagram

I am having a hard time understanding these when it comes to designing a class diagram, from what I know composition is a "has-a" relationship but Aggregation ?? I have no idea what is it. and one thing when will I know to use Composition in a class…
user962206
  • 15,637
  • 61
  • 177
  • 270
5
votes
1 answer

Bifurcation diagram of dynamical system

TL:DR How can one implement a bifurcation diagram of a seasonally forced epidemiological model such as SEIR (susceptible, exposed, infected, recovered) in Python? I already know how to implement the model itself and display a sampled time series…
Jared Frazier
  • 413
  • 1
  • 4
  • 10
5
votes
8 answers

Should I use formal methods on my software project?

Our client wants us to build a web-based, rich internet application for gathering software requirements. Basically it's a web-based case tool that follows a specific process for getting requirements from stakeholders. I'm the project manager and…
5
votes
1 answer

Use ModelingToolkit.jl to eliminate a conserved quantity

ModelingToolkit.jl is such a great package that I frequently expect too much of it. For example, I often find myself with a model which boils down to the following: @variables t x(t) y(t) @parameters a b C d = Differential(t) eqs = [ d(x) ~ a *…
L.Grozinger
  • 2,280
  • 1
  • 11
  • 22
5
votes
2 answers

C4 model in practice

After reading about C4 model and listening Simon Brown's talk I still don't understand how to use it in practice. AFAIK, the main contribution of C4 model is "agreement" on simple abstraction that brings diagrams and documentation closer to…
VB_
  • 45,112
  • 42
  • 145
  • 293
5
votes
2 answers

Choice PK and SK in DynamoDB

I have the following two items which I need to store in dynamodb Artists Songs The artists have an ID (unique for artists), name and gender. The Songs have an ID (unique for songs), title, genre, artist and rating. How should I model this in…
mealesbia
  • 845
  • 2
  • 12
  • 28
5
votes
5 answers

How can I model complex role relationships where only certain groups of entities can take part in a role?

Let's say I have to model the meals of a diner. A meal can consist of several "components": (Fries OR rice OR wedges) AND (One of six different beverages) AND (One or two out of seven different sauces OR none at all) Another meal can consist…
Daniel Rikowski
  • 71,375
  • 57
  • 251
  • 329
5
votes
1 answer

How do I import a SysML model (in XMI format) to Papyrus?

I have an XMI 2.1 formatted SysML model, exported from Enterprise Architect. I'm evaluating Papyrus as an alternate model IDE. I'd like to import my XMI file into Papyrus, including all structural and behavioral blocks. Here's what I've…
retrodrone
  • 5,850
  • 9
  • 39
  • 65
5
votes
1 answer

How to handle multiple user types in Rails?

I'm finding a good way to modeling User different types in the system. For registration, he/she can select to be a student, a mentor, or both. Being a student or a mentor has different set of properties. Student and mentor will have different…
Samnang
  • 5,536
  • 6
  • 35
  • 47
5
votes
2 answers

Use Python lmfit with a variable number of parameters in function

I am trying to deconvolve complex gas chromatogram signals into individual gaussian signals. Here is an example, where the dotted line represents the signal I am trying to deconvolve. I was able to write the code to do this using…
user14241
  • 727
  • 1
  • 8
  • 27