Coder Social home page Coder Social logo

chenguowang1 / csnn- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lihongweiseu/csnn

0.0 0.0 0.0 16.41 MB

Code for the paper "Modeling of forced-vibration systems using continuous-time state-space neural network"

Python 96.54% MATLAB 3.46%

csnn-'s Introduction

Codes for the paper "Modeling of forced-vibration systems using continuous-time state-space neural network"

--- Coded in the Python environment utilizing the powerful deep learning library PyTorch.

Illustrative example 1 Shear Zener model of viscoelastic dampers

  1. Zener_Sin_RNN_main.py is the main Python file for the quick demonstration of the RNN model.
  2. Zener_CSNN_main.py is the main Python file for the SINN model.
  3. Zener_preparation.m is the Matlab file to generate the banded limited white noises as input signals.
  4. Zener_data.mat is the generated banded limited white noises.
  5. Zener_CSNN_2layer1_2state_2neuron1_6000_10s_loss2834em1.pt is the trained library of CSNN model, users could load it in Zener_CSNN_main.py to genetate Zener_CSNN_2layer1_2state_2neuron1.mat quickly.
  6. Zener_CSNN_2layer1_2state_2neuron1.mat stores the simulation results.
  7. Zener_CSNN_plot.py plots the results.

Illustrative example 2 Nonlinear system subjected to acceleration excitation

  1. num_CSNN_main.py is the main Python file for the CSNN model.
  2. num_CSNN_2layer1_2state_2neuron1_3000_loss5316em2.pt is the trained library of CSNN model, users could load it in num_main.py to genetate num_data_pred1_2layer1_2state_2neuron1.mat quickly.
  3. num_preparation.py prepares the data.
  4. results_num_ag2u.mat is the data file coming from the PhyCNN paper "Physics-guided convolutional neural network (PhyCNN) for data-driven seismic response modeling".
  5. numa_ref.mat stores the reference results.
  6. num_PhyCNN.mat stores the prediction results using the PhyCNN model.
  7. num_CSNN_2layer1_2state_2neuron1.mat stores the prediction results using the CSNN model.
  8. num_CSNN_plot.py plots the results.

Illustrative example 3 a 6-Story hotel building with recorded seismic responses

  1. exp_CSNN_main.py is the main Python file for the CSNN model.
  2. exp_CSNN_1layer_3state_3neuron1_acc_roof_10000_loss9413ep3.pt is the trained library of CSNN model, users could load it in exp_CSNN_main.py to genetate exp_CSNN_1layer_3state_3neuron1.mat quickly.
  3. results_exp_ag2utt.mat is the data file coming from the PhyCNN paper
  4. exp_ref.mat stores the reference results.
  5. exp_PhyCNN.mat stores the prediction results using the PhyCNN model.
  6. exp_CSNN_1layer_3state_3neuron1.mat stores the prediction results using the CSNN model.
  7. exp_CSNN_plot.py plots the results.

csnn-'s People

Contributors

lihongweiseu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.