Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
The Wind-Plant Integrated System Design and Engineering Model (WISDEM®) is a set of models for assessing overall wind plant cost of energy (COE). The models use wind turbine and plant cost and energy production as well as financial models to estimate COE and other wind plant system attributes. WISDEM® is accessed through Python, is built using OpenMDAO, and uses several sub-models that are also implemented within OpenMDAO. These sub-models can be used independently but they are required to use the overall WISDEM® turbine design capability. Please install all of the pre-requisites prior to installing WISDEM® by following the directions below. For additional information about the NWTC effort in systems engineering that supports WISDEM® development, please visit the official NREL systems engineering for wind energy website.
Author: NREL WISDEM Team
See local documentation in the docs
-directory or access the online version at https://wisdem.readthedocs.io/en/master/
WISDEM® is a family of modules. The core modules are:
The core modules draw upon some utility packages, which are typically compiled code with python wrappers:
Installation with Anaconda is the recommended approach because of the ability to create self-contained environments suitable for testing and analysis. WISDEM® requires Anaconda 64-bit. However, the conda
command has begun to show its age and we now recommend the one-for-one replacement with the Miniforge3 distribution, which is much more lightweight and more easily solves for the WISDEM package dependencies.
To use WISDEM's modules as a library for incorporation into other scripts or tools, WISDEM is available via conda install wisdem
or pip install wisdem
, assuming that you have already setup your python environment. Note that on Windows platforms, we suggest using conda
exclusively.
These instructions are for interaction with WISDEM directly, the use of its examples, and the direct inspection of its source code.
The installation instructions below use the environment name, "wisdem-env," but any name is acceptable. For those working behind company firewalls, you may have to change the conda authentication with conda config --set ssl_verify no
. Proxy servers can also be set with conda config --set proxy_servers.http http://id:pw@address:port
and conda config --set proxy_servers.https https://id:pw@address:port
. To setup an environment based on a different Github branch of WISDEM, simply substitute the branch name for master
in the setup line.
Setup and activate the Anaconda environment from a prompt (Anaconda3 Power Shell on Windows or Terminal.app on Mac)
conda config --add channels conda-forge
conda install git
git clone https://github.com/WISDEM/WISDEM.git
cd WISDEM
conda env create --name wisdem-env -f environment.yml
conda activate wisdem-env
In order to directly use the examples in the repository and peek at the code when necessary, we recommend all users install WISDEM in developer / editable mode using the instructions here. If you really just want to use WISDEM as a library and lean on the documentation, you can always do conda install wisdem
and be done. Note the differences between Windows and Mac/Linux build systems. For Linux, we recommend using the native compilers (for example, gcc and gfortran in the default GNU suite).
conda install -y petsc4py mpi4py # (Mac / Linux only)
conda install -y gfortran # (Mac only without Homebrew or Macports compilers)
conda install -y m2w64-toolchain libpython # (Windows only)
pip install --no-deps -e . -v
NOTE: To use WISDEM again after installation is complete, you will always need to activate the conda environment first with conda activate wisdem-env
For Windows users, we recommend installing git
and the m2w64
packages in separate environments as some of the libraries appear to conflict such that WISDEM cannot be successfully built from source. The git
package is best installed in the base
environment.
Each package has its own set of unit tests. These can be run in batch with the test_all.py
script located in the top level test
-directory.
For software issues please use https://github.com/WISDEM/WISDEM/issues. For functionality and theory related questions and comments please use the NWTC forum for Systems Engineering Software Questions.
FAQs
Wind-Plant Integrated System Design & Engineering Model
We found that wisdem demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.