Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyKoopman for coupled PDEs #34

Closed
lsptrsn opened this issue Jul 27, 2023 · 1 comment
Closed

PyKoopman for coupled PDEs #34

lsptrsn opened this issue Jul 27, 2023 · 1 comment

Comments

@lsptrsn
Copy link

lsptrsn commented Jul 27, 2023

I would like to apply PyKoopman to a coupled PDE, let's say:

$\frac{\partial X}{\partial t} = \frac{\partial X}{\partial z} + T$
$\frac{\partial T}{\partial t} = X - \frac{\partial T}{\partial z}$

After discretizing for z and solving this system with some initial values I have the matrices t, z, X, T.
t.shape = (150,)
z.shape = (151,)
X.shape = (150, 151)
T.shape= (150, 151)

In which form can I input X and T into model.fit(x, dt=dt)? Does pyKoopman currently support this?

@pswpswpsw
Copy link
Collaborator

You want to try DMD first on this problem. And it will work amazingly well. So the short answer is yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants