Local and nonlocal continuum modeling of inelastic periodic networks applied to stretching-dominated trusses